Jump to content
  • Advertisement
Sign in to follow this  
MARS_999

MFC and Dialog editor

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

I am trying to learn MFC. Ugh. I am somewhat ok with using win32 API and am trying to make a level editor. I have a splitter window setup and now see I can't just drag and drop my slider bars ect. from the Dialog editor to the application. So do I have to do all this programatically in MFC? If so why not just use win32 then? thanks

Share this post


Link to post
Share on other sites
Advertisement
Programmatically you just create splitter, and dragging/resizing it with mouse is built into it's functionality. You can override some methods and take control of mouse drags and clicks. everything is up to you.

here's sample:
http://www.codersource.net/mfc_splitter_window.html

you can find everything using google.

But I prefer doing it myself, since splitter means few different windows, while I prefer one and splitting can be done without recreating of renersystem, reloading resources as well and it can be slow.

But if you use GDI for drawing, it is ok.

Share this post


Link to post
Share on other sites
Hmm I am referring to things like static text, radio buttons ect for user input. I dont' see this happening without using a dialog box or programming it into the app? So point is wouldn't it just be easier to use win32 instead if I know that better than MFC? Thanks

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!