Professional Documents
Culture Documents
MFC Controls
MFC Controls
MFC Controls
[DEF]PUSHBUTTON [Caption], [Control Id], [X Pos], [Y Pos], [Width], [Height], [Style Options]
[AUTO]CHECKBOX [Caption], [Control Id], [X Pos], [Y Pos], [Width], [Height], [Style Options]
The syntax of our radio button is exactly the same as the CHECKBOX and AUTOCHECKBOX
controls:
[AUTO]RADIOBUTTON [Caption], [Control Id], [X Pos], [Y Pos], [Width], [Height], [Style Options]
The CTEXT control acts like a label, and is primarily used for display purposes only. The CTEXT
control has the following syntax:
CTEXT [Caption], [Control Id], [X Pos], [Y Pos], [Width], [Height], [Style Options]
We add a group box to our resource file with the following syntax:
GROUPBOX [Caption], [Control Id], [X Pos], [Y Pos], [Width], [Height], [Style Options]