On Windows there is a mechanism called event queue. You can queue a special message into message queue which acts as an event (Destroy Window, Show Window, Set Window Pos, Activate, Deactivate, ...) and is used for handling such cases as doing SetWindowPos on another thread's window ...
Posted window messages are for events so this already exist. Can you tell more about this?
G.
- Filip
Ros-dev mailing list Ros-dev@reactos.org http://www.reactos.org/mailman/listinfo/ros-dev