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

Probably a simple question

This topic is 5899 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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