Jump to content

CN SCROLL: Difference between revisions

From EDM2
Created page with "This message is sent by the container control to its owner whenever the container window scrolls. ==Syntax== <PRE> param1 USHORT id; Container control ID.: USHORT CN_SCROLL; Notification code.: param2 PNOTIFYSCROLL pNotifyScroll; Pointer to the NOTIFYSCROLL structure.: </PRE> ==Parameters== ;id (USHORT) - Input : Container control ID. ;CN_SCROLL (USHORT) - Input : Notification code. ;pNotifyScroll (PNOTIFYSCROLL) - Input : Pointer..."
 
(No difference)

Latest revision as of 21:48, 20 April 2025

This message is sent by the container control to its owner whenever the container window scrolls.

Syntax

param1
USHORT id;          /* Container control ID. */
USHORT CN_SCROLL;   /* Notification code. */

param2
PNOTIFYSCROLL pNotifyScroll; /* Pointer to the NOTIFYSCROLL structure. */

Parameters

id (USHORT) - Input
Container control ID.
CN_SCROLL (USHORT) - Input
Notification code.
pNotifyScroll (PNOTIFYSCROLL) - Input
Pointer to the NOTIFYSCROLL structure.

Returns

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

Remarks

None.

Default Processing

The default window procedure does not expect to receive this notification code and therefore takes no action on it other than to return 0.