CTabCtrl::DeselectAll

Resets items in a tab control, clearing any that were pressed.

void DeselectAll(
  BOOL fExcludeFocus 
);

Parameters

  • fExcludeFocus
    Flag that specifies the scope of the item deselection. If this parameter is set to FALSE, all tab buttons will be reset. If it is set to TRUE, then all tab items except for the one currently selected will be reset.

Remarks

This member function implements the behavior of the Win32 message, TCM_DESELECTALL, as described in the Windows SDK.

Requirements

Header: afxcmn.h

See Also

Reference

CTabCtrl Class

Hierarchy Chart

Other Resources

CTabCtrl Members