Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

CMFCCaptionBar::SetButton

Sets the button for the caption bar.

void SetButton(
   LPCTSTR lpszLabel,
   UINT uiCmdUI,
   BarElementAlignment btnAlignmnet=ALIGN_LEFT,
   BOOL bHasDropDownArrow=TRUE 
);
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.

Header: afxcaptionbar.h

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.