Jump to content
  • Advertisement


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


how to create a child dialog

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

hi all, here i had problem in creating the child dialog, i created the frame (CFrameWnd) first and i created the dialog box ( mode less). in this modeless dialog box i am using the progress bar once the progressbar reaches the range automatically get detroyed and new dialog is poped up. here i get the problem when i minimise the main frame and after some time where the next dialog( next to progressbar dialog)poped up at minimised status. i clicked the window in taskbar this time only dialog appeared behind this frame did not appear. when i right click on tasbar and click on restore frame appeared and above that dialog appeared. how to solve this problem can any one suggest. thanks in advance.

Share this post

Link to post
Share on other sites
I''d guess that you''re not setting the parent of the modeless dialog to the correct HWND.

When you create a CDialog, you can pass a CWnd* to the constructor to be used as the parent. Try sending a pointer to the main CWnd.

Magmai Kai Holmlor
- Not For Rent

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.

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!