CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6
  1. #1
    Join Date
    Aug 2010
    Posts
    7

    Query on DoModal( ) for Dialog(CDialog) in VC++/MFC

    it is solved
    Last edited by Neo61850; August 13th, 2010 at 05:06 PM. Reason: it is solved

  2. #2
    Arjay's Avatar
    Arjay is offline Moderator / EX MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    13,490

    Re: Query on DoModal( ) for Dialog(CDialog) in VC++/MFC

    Both of the child dialogs need to have the WS_CHILD style set.

  3. #3
    Join Date
    Jul 2005
    Location
    Netherlands
    Posts
    2,042

    Re: Query on DoModal( ) for Dialog(CDialog) in VC++/MFC

    Quote Originally Posted by Neo61850 View Post
    help is required from member on one Technical issue...
    .
    i have one Dialog..............
    Please use code tags. And what's with all the dots?
    at the same time another thread in the same application calls CMyDialog::OnShow()
    Bad idea. You should have one user interface thread. Other threads you make should be worker threads, which can signal the main thread if needed.
    Cheers, D Drmmr

    Please put [code][/code] tags around your code to preserve indentation and make it more readable.

    As long as man ascribes to himself what is merely a posibility, he will not work for the attainment of it. - P. D. Ouspensky

  4. #4
    Join Date
    Aug 2010
    Posts
    7

    Re: Query on DoModal( ) for Dialog(CDialog) in VC++/MFC

    it is solved
    Last edited by Neo61850; August 13th, 2010 at 05:07 PM. Reason: it is solved

  5. #5
    Join Date
    Aug 2010
    Posts
    7

    Re: Query on DoModal( ) for Dialog(CDialog) in VC++/MFC

    it is solved
    Last edited by Neo61850; August 13th, 2010 at 05:07 PM. Reason: it is solved

  6. #6
    Arjay's Avatar
    Arjay is offline Moderator / EX MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    13,490

    Re: Query on DoModal( ) for Dialog(CDialog) in VC++/MFC

    Quote Originally Posted by Neo61850 View Post
    it is solved
    Please don't edit your posts to remove code when the problem has been solved.

    Instead, post the solution and mark the code as resolved. That way, folks that search the forum can find help on a similar topic.

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