how to use CButton class in win 32
-
.
-
Conceptually you should not try to do this. If you want to create a button in WIN32 application you should see the CreateWindow API
I am a HUMAN. I have that keyword in my name........ ;-)_AnsHUMAN_
-
CButton is a MFC class, so you can't use it in a Win32 without MFC. You will need to create a MFC project if you want to use it.
Cédric Moonen Software developer
Charting control [v3.0] OpenGL game tutorial in C++ -
You shouldn't. In other words, you need
MFC
in order to use aCButton
, but, do you really want to bloat withMFC
your neatWin32
application just for usingCButton
? You may use plainWin32 API
function for dealing with buttons. :)If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
[My articles]