CMFCToolBar::SetPermament
Specifies whether a user can close the toolbar.
void SetPermament(
BOOL bPermament=TRUE
);
Parameters
- [in] bPermament
A Boolean value that specifies whether a user can close the toolbar. If this parameter is TRUE, a user cannot close the toolbar. Otherwise, a user can close the toolbar.
Remarks
By default, a user can close each toolbar.
Call the CMFCToolBar::CanBeClosed method to determine whether a user can close the toolbar.
Requirements
Header: afxtoolbar.h