CM EXPANDTREE
Appearance
This message causes one parent item in the tree view to be expanded. 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.
Syntax
param1 PRECORDCORE pRecord; /* Pointer to the RECORDCORE structure that is to be expanded. */ param2 ULONG ulReserved; /* Reserved value, should be 0. */
Parameters
- pRecord (PRECORDCORE) - Input
- Pointer to the RECORDCORE structure that is to be expanded.
- If this is NULL, all collapsed parent items are expanded.
- 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.
- ulReserved (ULONG) - Input
- Reserved value, should be 0.
Returns
- rc (BOOL) - returns
- Success indicator.
- TRUE: The item was successfully expanded.
- FALSE: An error occurred. The WinGetLastError function may return the following error:
- PMERR_INVALID_PARAMETERS.
Remarks
None.
Default Processing
The default window procedure does not expect to receive this message and therefore takes no action on it other than to return FALSE.