windowHandle

Get the viewer window handle.
[read-only property] windowHandle([out, retval] LONG *wnd)
This property contains the handle (type HWND) for the main viewer window (i.e, the part inside the scrollbars). This can be useful for various customization purposes.
VB6:
wnd = viewer.windowHandle