Menu - loop of sending and receiving WM_TIMER
Alexandre Julliard
julliard at winehq.org
Thu Apr 14 12:49:11 CDT 2005
Jose Alonso <alonso at estadao.com.br> writes:
> The timer was not restarted in (3), because the message is
> removed in remove_queue_message.
>
> DECL_HANDLER(get_message)
> ...
> if (get_posted_message( queue, ...
> ...
> get_posted_message
> ...
> remove_queue_message( queue, msg, POST_MESSAGE );
WM_TIMER messages are not posted, so the message can't possibly be
removed by get_posted_message. It will be handled in
find_expired_timer, which will return a new message and restart the
timer.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list