You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 433bfd3
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/mfc/reference/cmfcbutton-class.md
+53-9Lines changed: 53 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -80,12 +80,17 @@ class CMFCButton : public CButton
80
80
81
81
|Name|Description|
82
82
|----------|-----------------|
83
-
|[CMFCButton::m_bDrawFocus](#m_bdrawfocus)|Indicates whether to draw a focus rectangle around a button.|
84
-
|[CMFCButton::m_bHighlightChecked](#m_bhighlightchecked)|Indicates whether to highlight a BS_CHECKBOX-style button when the cursor hovers over it.|
85
-
|[CMFCButton::m_bRightImage](#m_brightimage)|Indicates whether to display an image on the right side of the button.|
86
-
|[CMFCButton::m_bTransparent](#m_btransparent)|Indicates whether the button is transparent.|
87
83
|[CMFCButton::m_nAlignStyle](#m_nalignstyle)|Specifies the alignment of the button text.|
84
+
|[CMFCButton::m_bDontUseWinXPTheme](#m_bDontUseWinXPTheme)|Specifies whether to use Windows XP themes.|
85
+
|[CMFCButton::m_bDrawFocus](#m_bdrawfocus)|Indicates whether to draw a focus rectangle around a button.|
88
86
|[CMFCButton::m_nFlatStyle](#m_nflatstyle)|Specifies the style of the button, such as borderless, flat, semi-flat, or 3D.|
87
+
|[CMFCButton::m_bGrayDisabled](#m_bGrayDisabled)|When TRUE, enables a disabled button to be drawn as grayed-out.|
88
+
|[CMFCButton::m_bHighlightChecked](#m_bhighlightchecked)|Indicates whether to highlight a BS_CHECKBOX-style button when the cursor hovers over it.|
89
+
|[CMFCButton::m_bResponseOnButtonDown](#m_bResponseOnButtonDown)|Indicates whether to respond to button down events.|
90
+
|[CMFCButton::m_bRightImage](#m_brightimage)|Indicates whether to display an image on the right side of the button.|
91
+
|[CMFCButton::m_bTopImage](#m_bTopImage)| Indicates whether the image is on top of the button.|
92
+
|[CMFCButton::m_bTransparent](#m_btransparent)|Indicates whether the button is transparent.|
93
+
|[CMFCButton::m_bWasDblClk](#m_bWasDblClk)| Indicates whether the last click event was a double-click.|
89
94
90
95
## Remarks
91
96
Other types of buttons are derived from the `CMFCButton` class, such as the [CMFCURLLinkButton](../../mfc/reference/cmfclinkctrl-class.md) class, which supports hyperlinks, and the `CMFCColorButton` class, which supports a color picker dialog box.
Indicates whether to draw a focus rectangle around a button.
297
311
@@ -303,7 +317,15 @@ BOOL m_bDrawFocus;
303
317
Set the `m_bDrawFocus` member to TRUE to specify that the framework will draw a focus rectangle around the button's text and image if the button receives focus.
304
318
305
319
The `CMFCButton` constructor initializes this member to TRUE.
0 commit comments