Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Determines whether the button is on a locked (non-customizable) toolbar.
BOOL IsLocked() const;
Return Value
Nonzero if the button is on a locked toolbar; otherwise 0.
Remarks
The framework calls this method to determine whether the user can customize the toolbar button by using drag-and-drop or edit operations. Set the locked attribute on the parent toolbar by using the CMFCToolBar::LoadToolBar method. The framework passes the value of this attribute to the constructor of each toolbar button (CMFCToolBarButton Class) that it inserts into the parent toolbar.
Requirements
Header: afxtoolbarbutton.h