How do I create buttons in Win32 API?
like a "click here to quit" button
How do I create buttons in Win32 API?
like a "click here to quit" button
Using CreateWindow() or CreateWindowEx(). You need to specify "Button" as the window class name.
Use CreateWindowEx with button as the classname; more information can be found here.
If you're just starting out with windows programming you may want to take a look at the following sites:
theForger's win32api tutorial
raredical
From the ground up
edit: biffed by Dante.
CProgramming FAQ
Caution: this person may be a carrier of the misinformation virus.