VpeGetWindowHandle

<< Click to Display Table of Contents >>

Navigation:  Management Functions >

VpeGetWindowHandle

Previous pageReturn to chapter overviewNext page

[Windows platform only]

Returns the window handle of the Preview. This is a standard window handle you can use for manipulating the Preview.  It is also needed when working with an embedded Preview Window, to control the position and the size of the Preview and for routing (sending) keyboard-messages (WM_CHAR) to it.

HWND VpeGetWindowHandle(

VpeHandle hDoc

)

VpeHandle hDoc

Document Handle

Returns:

the window handle of the preview