void CBCGPShellTree::SetRelatedList | ( | CBCGPShellList * | pShellList, |
BOOL | bDontSyncOnSelectByKeyboard = FALSE , |
||
BOOL | bExpandInvisibleItems = TRUE |
||
) |
Sets a relation between a shell tree control and shell list control (view).
Call this function if you want to create a relation between the shell tree control and a CBCGPShellList control.
The shell list control will automatically update its content when user selects a shell tree item.
pShellList | A pointer to list to be set. |
bDontSyncOnSelectByKeyboard | Specifies whether the list content should be updated when the tree selection was changed by the keyboard. |
bExpandInvisibleItems | Specifies whether the tree node associated with shell list path should be expanded. |