Defines whether the current item is updated when the expand/collapse buttons are used.
C
BOOL WINAPI SftBox_GetUpdateCaretExpandCollapse(HWND hwndCtl); void WINAPI SftBox_SetUpdateCaretExpandCollapse(HWND hwndCtl, BOOL fSet);
C++
BOOL CSftBox::GetUpdateCaretExpandCollapse() const; void CSftBox::SetUpdateCaretExpandCollapse(BOOL fSet);
hwndCtl
The window handle of the combo box control.
fSet
Set to TRUE to update the current item when the expand/collapse buttons are used. Otherwise, set to FALSE.
GetUpdateCaretExpandCollapse returns TRUE if the current item is updated when the expand/collapse buttons are used. Otherwise, FALSE is returned.
The GetUpdateCaretExpandCollapse and SetUpdateCaretExpandCollapse functions define whether the current item is updated when the expand/collapse buttons are used.
If set to TRUE, an item becomes the current item when the user clicks its expand/collapse button. If set to FALSE, clicking an expand/collapse button does not change the current item. The default is TRUE.
In either case, GetExpandCollapseIndex returns the index of the item whose expand/collapse button was (double-)clicked in the dropdown portion.
See Also C/C++ API | Categories | Notifications