Archived

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

Arek the Absolute

Creating a Windows control without dialogs...

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
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
Quantum    122
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