CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2003
    Location
    Durham, England
    Posts
    10

    Passing a dialog between threads.

    i create a dialog in the main thread of my mfc app using the Create() function. (im not going to post the code because its overcomplicated and messy, and will just confuse things). I need to be able to access this dialog (it's GUI) from another thread). I have read some msdn stuff on this, which says to pass it by handle, but as soon as i create the dialog from the handle in the thread im passing it to, it's m_hWnd variable is set to null. please help!

    mankeyrabbit

  2. #2
    Join Date
    May 2000
    Location
    KY, USA
    Posts
    18,652
    Take a look at the following FAQ...

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