Sets the invert state of the document. This is a parameter of the VAPIM_VIEW message.
#include <kvvapi.h> SendMessage(hWndVAPI, VAPIM_VIEW, VAPIMWP_VIEW_SETINVERT, 0L );
| Argument | Description |
|---|---|
hWndVAPI
|
The handle of the VAPI window. |
SendMessage() returns TRUE if the call succeeds; otherwise it returns FALSE.
The message toggles the current invert state of the document. You can use this message to implement an Invert menu item or toolbar button.
|
|