Jump to content

HM_SET_COVERPAGE_SIZE

From EDM2
Revision as of 04:09, 28 April 2025 by Martini (talk | contribs) (Created page with "{{DISPLAYTITLE:HM_SET_COVERPAGE_SIZE}} 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== <pre> param1 PRECTL coverpagerectl; Pointer to RECTL containing the size of the coverpage.: param2 ULONG ulReserved; Reserved value, should be 0.: </pre> ==Parameters== ;coverpagerectl (PRECTL) - input: Pointer to RECTL containing the size of the coverpage....")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.