Jump to content
  • Advertisement

Archived

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

Arek the Absolute

Creating a Windows control without dialogs...

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

What''s the best way to add controls (edit boxes in particular) to a window, without using dialog boxes? The only means I can seem to find are either resource scripts for dialogs, or MFC stuff that I''d rather keep away from. Confusing. Is there another way to do this? Or do I have to go to MFC? And if so, is there a code example I could look at anywhere...? -Arek the Absolute

Share this post


Link to post
Share on other sites
Advertisement
I guess I still have two more questions, then. Am I to assume for class I just type in EDIT for lpClassName, and if so, where is it defined? I always get an undefined identifier...

-Arek the Absolute

Share this post


Link to post
Share on other sites
I think you need to enclose the class name in ", i.e. type "EDIT". Look up CreateWindow in MSDN if you havn''t.

Share this post


Link to post
Share on other sites
Gah! I feel stupid now.
I didn''t look it up on MSDN, but that reminds me, is the MSDN site EVER different from VC++ 6.0''s help stuff? It never seems it to me, and that''s why I''ve stopped looking. Yes, I did look it up in the Help, based on that assumption.

-Arek the Absolute

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!