Jump to content

WM OWNERPOSCHANGE: Difference between revisions

From EDM2
Created page with "This message is sent by a frame window processing the WM_ADJUSTFRAMEPOS message. ==Syntax== <PRE> param1 PSWP ppswp; Owned window state.: param2 PSWP ppswpOwner; Owner window state.: </PRE> ==Parameters== ;ppswp (PSWP) - Input/Output : Pointer to a SWP structure. The receiver of this message is expected to alter this '''ppswp''' parameter to the appropriate values relative to the new position and/or size of its owner, whose new position and si..."
 
No edit summary
 
Line 10: Line 10:


==Parameters==
==Parameters==
;ppswp ([[PSWP]]) - Input/Output
;ppswp (P[[SWP]]) - Input/Output
: Pointer to a [[SWP]] structure. The receiver of this message is expected to alter this '''ppswp''' parameter to the appropriate values relative to the new position and/or size of its owner, whose new position and size is specified in a [[SWP]] structure in the '''ppswpOwner''' parameter.
: Pointer to a [[SWP]] structure. The receiver of this message is expected to alter this '''ppswp''' parameter to the appropriate values relative to the new position and/or size of its owner, whose new position and size is specified in a [[SWP]] structure in the '''ppswpOwner''' parameter.
;ppswpOwner ([[PSWP]]) - Input
;ppswpOwner (P[[SWP]]) - Input
: Pointer to a [[SWP]] structure. This represents the new position and size of the owner window.
: Pointer to a [[SWP]] structure. This represents the new position and size of the owner window.



Latest revision as of 01:33, 21 April 2025

This message is sent by a frame window processing the WM_ADJUSTFRAMEPOS message.

Syntax

param1
PSWP ppswp;     /* Owned window state. */

param2
PSWP ppswpOwner; /* Owner window state. */

Parameters

ppswp (PSWP) - Input/Output
Pointer to a SWP structure. The receiver of this message is expected to alter this ppswp parameter to the appropriate values relative to the new position and/or size of its owner, whose new position and size is specified in a SWP structure in the ppswpOwner parameter.
ppswpOwner (PSWP) - Input
Pointer to a SWP structure. This represents the new position and size of the owner window.

Returns

ulReserved (ULONG) - returns
Reserved value, should be 0.

Default Processing

The default window procedure takes no action on this message, other than to set ulReserved to 0.