HM_SET_COVERPAGE_SIZE
Appearance
This message is sent to IPF by the application to set the size of the coverpage, the window within which all other IPF windows are displayed.
Syntax
param1 PRECTL coverpagerectl; /* Pointer to RECTL containing the size of the coverpage. */ param2 ULONG ulReserved; /* Reserved value, should be 0. */
Parameters
- coverpagerectl (PRECTL) - input
- Pointer to RECTL containing the size of the coverpage.
- ulReserved (ULONG) - input
- Reserved value, should be 0.
Returns
- rc (ULONG) - return
- Return code.
- 0: The procedure was successfully completed.
- Other: See the values of the errorcode parameter of the HM_ERROR message.
Remarks
The default size for the coverpage of a book is the full width of the screen, while the default size for a help file is one-half the width of the screen. This message takes effect immediately, changing the size of the coverpage. If the coverpage is not currently open, the requested size is saved for the next open.
Default Processing
None.