VAPIMWP_VIEW_SETLAYOUT
Sets the layout of the document. This is a parameter of the VAPIM_VIEW
message.
Syntax
#include <kvvapi.h> SendMessage(hWndVAPI, VAPIM_VIEW, VAPIMWP_VIEW_SETLAYOUT, (LPARAM) (long) lLayout );
Arguments
Argument | Description |
---|---|
hWndVAPI
|
The handle of the VAPI window. |
lLayout
|
A long integer that is the document layout:
|
Returns
SendMessage()
returns TRUE
if the call succeeds; otherwise it returns FALSE
.
Discussion
Use this message to implement a Wrap to Window, Page Layout, or Window Width menu item or toolbar button.