Notify

Description

Occurs when a TreeView control sends a WM_NOTIFY message to its parent.

Event ID

Event ID

Objects

pbm_notify

TreeView controls


Arguments

Argument

Description

wparam

UnsignedLong by value containing the ID of the control sending the message. This value is not guaranteed to be unique.

lparam

Long by value containing a pointer to a structure that contains the window handle and identifier of the control sending a message and a notification code.


Return Values

Long.

Return code choices (specify in a RETURN statement):

0 -- Continue processing

Usage

The lparam argument can point to an NMHDR structure or to a larger structure that contains an NMHDR structure as its first member. Since the wparam value is not guaranteed to be unique, you should use the identifier in the NMHDR structure.

You can use this event to process custom drawing messages.