Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
Sets the style of the toolbar button at the given index.
virtual void SetButtonStyle(
int nIndex,
UINT nStyle
);
Parameters
[in] nIndex
The zero-based index of the toolbar button whose style is to be set.[in] nStyle
The style of the button. See ToolBar Control Styles for the list of available toolbar button styles.
Remarks
This method removes the TBBS_PRESSED style if nStyle is TBBS_DISABLED because the user cannot click a disabled button.
Requirements
Header: afxtoolbar.h