Nota:
El acceso a esta página requiere autorización. Puede intentar iniciar sesión o cambiar directorios.
El acceso a esta página requiere autorización. Puede intentar cambiar los directorios.
Sets the button for the caption bar.
void SetButton(
LPCTSTR lpszLabel,
UINT uiCmdUI,
BarElementAlignment btnAlignmnet=ALIGN_LEFT,
BOOL bHasDropDownArrow=TRUE
);
Parameters
lpszLabel
The button's command label.uiCmdUI
The button's command ID.btnAlignmnet
The button's alignment.bHasDropDownArrow
TRUE if the button displays a drop down arrow, FALSE otherwise.
Requirements
Header: afxcaptionbar.h