Announcement

Collapse
No announcement yet.

Callback for Threads?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Callback for Threads?

    Is there a way to assign a callback function to a secondary thread of execution to handle Windows messages for events that are created and/or caused by the secondary thread?

    #2
    Events (including window notification messages) are not created or caused by threads.

    If you want window notification messages processed such they are always executed in a particular thread context, you have to create the window whilst executing in that thread context. Matter of fact, with window notification messages, that is your only choice: the window procedure always executes in the thread context in which the window was created. (A window is 'owned by' a thread of execution).
    Michael Mattias
    Tal Systems (retired)
    Port Washington WI USA
    [email protected]
    http://www.talsystems.com

    Comment


      #3
      Or maybe what you are really looking for is something like....
      GUI + Worker Thread + Abort Demo 11-24-07

      ???
      Michael Mattias
      Tal Systems (retired)
      Port Washington WI USA
      [email protected]
      http://www.talsystems.com

      Comment

      Working...
      X
      😀
      🥰
      🤢
      😎
      😡
      👍
      👎