CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 1999
    Location
    Vietnam
    Posts
    71

    How to bring on top a popup dialog while its parent window is hidding?

    I want to bring on top a browse item dialog box when login to my app is successful while my main frame window is hide but I can't.

    Thanks for your assistance.

    Do Quyet Tien

  2. #2
    Join Date
    Jun 2002
    Location
    Madrid - Spain
    Posts
    28

    Have you tried a non-modal dialog?

    I got to do a similar thing to what you are trying, but the dialog I opened while a main window was hidden ( ShowWindow(SW_HIDE) ) was non-modal ( instead of calling CDialog:oModal() you call the CDialog::Create function, and then you call ShowWindow(SW_SHOWNORMAL) ), and it worked to me!

    Good luck!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured