Partager via


CMFCToolBar::IsLocked

Determines whether the toolbar is locked.

BOOL IsLocked() const;

Return Value

Nonzero if the toolbar is locked; otherwise 0.

Remarks

This method returns TRUE when the user cannot perform customization tasks such as repositioning toolbar buttons.

Locked toolbars use separate image lists. For more information about these image lists, see CMFCToolBar::LoadBitmapEx.

Requirements

Header: afxtoolbar.h

See Also

Reference

CMFCToolBar Class

Hierarchy Chart

CMFCToolBar::LoadBitmapEx