Gets the layout of the document. This is a parameter of the VAPIM_VIEW message.
#include <kvvapi.h> SendMessage(hWndVAPI, VAPIM_VIEW, VAPIMWP_VIEW_GETLAYOUT, (LPARAM) (long*) lplLayout );
| Argument | Description |
|---|---|
hWndVAPI
|
The handle of the VAPI window. |
lplLayout
|
A pointer to a long integer that returns the document layout:
|
SendMessage() returns TRUE if the call succeeds; otherwise it returns FALSE.
Use this message to set the state of a Wrap to Window, Page Layout, or Window Width menu item or toolbar button.
|
|