Sign in to follow this  
programmer_247

dialog boxes and windows c++ win32

Recommended Posts

I am trying to create an application that has a window on the left, which has graphics in it that can be modified by selecting options on the right side. Is there either a way to put buttons in a normal window or to draw in a dialog box?

Share this post


Link to post
Share on other sites
http://www.winprog.net/tutorial/

Depending upon the API. 99% chance that you can put buttons in a normal window or draw in a dialog box.

A dialog after all is really just a window. It has a windows handle (HWND). As for the buttons, you'll just have to manually create them. A button too is just a window. In this case, it's parent windows handle would be the window you want to put the buttons in. The only drawback is that you won't be able to create it via the dialog resource editor.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this