Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Retrieves the collection of non-customized buttons of the toolbar.
const CObList& GetOrigButtons() const;
Return Value
A reference to the list of non-customized buttons of the toolbar.
Remarks
The framework creates a copy of toolbar buttons before they are customized by the user. The CMFCToolBar::SetButtons method adds a copy of each button in the provided array to the list of original buttons. The CMFCToolBar::RestoreOriginalstate method restores the original state of the toolbar by loading it from the resource file.
To set the list of original buttons for your toolbar, call the CMFCToolBar::SetOrigButtons method.
Requirements
Header: afxtoolbar.h