Jump to content
  • Advertisement

Archived

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

DanTheRocker

Probably a simple question

This topic is 6087 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

Advertisement
Guest Anonymous Poster
Huh?
What language are you using?

Share this post


Link to post
Share on other sites
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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!