This topic is now archived and is closed to further replies.


Probably a simple question

Recommended Posts

Guest Anonymous Poster
Look up CreateWindow() in the MSDN. In the remarks section it talks about the predefined control classes.

I think all you have to do is call CreateWindow a second time using the button class name.

CreateWindow ("button",...

Also, I think the hWndParent parameter should be set to the main window handle but I could be wrong. I haven''t gotten this far yet.

You''ll have to look up in the MSDN what styles can be used with the button class.

Share this post

Link to post
Share on other sites