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

    Talking MFC Threads and Messages

    I can't seem to get this: http://www.codeguru.com/forum/showthread.php?t=359456 to work. Instead, is it possible to make my own message handler and send a message on one thread, catching it on another thread?

    Thanks

  2. #2
    Join Date
    Aug 2005
    Posts
    104

    Re: MFC Threads and Messages

    The compiler error you're getting means that the function where that code exists is not a method on a CWnd class. Are you sure you added your function it to the class definition?
    Without posting more code, we can't really help you... :-)

  3. #3
    Join Date
    Nov 2002
    Location
    California
    Posts
    4,556

    Re: MFC Threads and Messages

    See my answer to your other thread at http://www.codeguru.com/forum/showth...89#post1244989

    Please be patient; you posted this second request less than one hour after your first request.

    Mike

  4. #4
    Join Date
    Nov 2003
    Location
    Belgium
    Posts
    8,150

    Re: MFC Threads and Messages

    [ moved thread ]
    Marc Gregoire - NuonSoft (http://www.nuonsoft.com)
    My Blog
    Wallpaper Cycler 3.5.0.97

    Author of Professional C++, 4th Edition by Wiley/Wrox (includes C++17 features)
    ISBN: 978-1-119-42130-6
    [ http://www.facebook.com/professionalcpp ]

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