# VAPIMWP_VIEW_SETINVERT

Sets the invert state of the document. This is a parameter of the `VAPIM_VIEW` message.

## Syntax

    #include <kvvapi.h>
    SendMessage(hWndVAPI, VAPIM_VIEW, VAPIMWP_VIEW_SETINVERT, 0L );

## Arguments

Argument | Description
--- | ---
`hWndVAPI` | The handle of the VAPI window.

## Returns

`SendMessage()` returns `TRUE` if the call succeeds; otherwise it returns `FALSE`.

## Discussion

The message toggles the current invert state of the document. You can use this message to implement an Invert menu item or toolbar button.

_FT_HTML5_bannerTitle.htm