I'm totally new to c++, MFC. Currently trying out on doing a GUI with a button and to display a "hello world" text when the button is pressed. How i can do it?
THANKS
Here's a tutorial on MFC:
Basically, you need to:
1) Create a button and an edit field or label (resource editor)
2) Define an "OnClick" event handler (class editor)
3) "SetWindowText()" on the label in your event handler
This link shows examples for steps 2 and 3:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.