int WINAPI ViewerControl( int Command, void *Param );
| Command | Description |
|---|---|
| VCTL_GETINFO | Gets viewer information. Param points to a
ViewerInfo structure.
This command always returns TRUE.
|
| VCTL_QUIT | Close the viewer. Param must be NULL.
This command always returns TRUE.
|
| VCTL_REDRAW | Redraws the viewer window. Param must be NULL.
This command always returns TRUE.
|
| VCTL_SETKEYBAR | Allows to control key bar titles in the viewer: Param = NULL - restores the previous value Param = -1 - redraws the key bar Param = pointer to a KeyBarTitles structure. This command always returns TRUE.
|
| VCTL_SELECT | Controls selection. Param points to a
ViewerSelect structure.
If Param = NULL, selection will be reset. If the command succeeds TRUE is returned.
|
| VCTL_SETMODE | Change viewer mode. Param points to a ViewerSetMode structure. If the command succeeds TRUE is returned.
|
| VCTL_SETPOSITION | Sets position in file. Param points to an
ViewerSetPosition structure.
If the command succeeds TRUE is returned.
|