CN COLLAPSETREE
Appearance
This message is sent by the container control to its owner when the container collapses a parent item in the tree view.
Syntax
param1 USHORT id; /* Container control ID. */ USHORT CN_COLLAPSETREE; /* Notification code. */ param2 PRECORDCORE pRecord; /* Pointer to the record that was collapsed. */
Parameters
- id (USHORT) - Input
- Container control ID.
- CN_COLLAPSETREE (USHORT) - Input
- Notification code.
- pRecord (PRECORDCORE) - Input
- Pointer to the record that was collapsed.
- Note: If the CCS_MINIRECORDCORE style bit is specified when a container is created, then MINIRECORDCORE should be used instead of RECORDCORE and PMINIRECORDCORE should be used instead of PRECORDCORE in all applicable data structures and messages.
Returns
- ulReserved (ULONG) - returns
- Reserved value, should be 0.
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.