Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
WM_SIZECLIPBOARD (1.2)
◄Message Group► ◄Overview► ◄Up► ◄Next► ◄Previous►
────────────────────────────────────────────────────────────────────────────
#define INCL_WINCLIPBOARD
WM_SIZECLIPBOARD
hwnd = HWNDFROMMP(mp1); /* clipboard-viewer handle */
prcl = (PRECTL) PVOIDFROMMP(mp2); /* pointer to RECTL structure */
The WM_SIZECLIPBOARD message is sent by the clipboard viewer to the
clipboard owner when the clipboard contains data with the CFI_OWNERDISPLAY
attribute and the clipboard-viewer window has changed size. When the
clipboard viewer is being destroyed or made iconic, this message is sent
with the rectangle size equal to (0,0,0,0), which permits the owner to free
its display resources.
Parameter Description
────────────────────────────────────────────────────────────────────────────
hwnd Low and high word of mp1. Identifies the clipboard viewer.
prcl Low and high word of mp2. Points to a RECTL structure that
contains the rectangle of the area that is to be repainted.
Return Value
An application should return zero if it processes this message.
♦