Notify icon messages is not impressive MsgWaitForMultipleObjectsEx
I am using MsgWaitForMultipleObjectsEx()
for my message loop and Shell_NotifyIcon
for creating tray icons.
Here's the deal: whenever the tray icon sends messages to that owner window, the window will not receive messages immediately, instead they will queue until another type of message arrives ( WM_MOUSEMOVE
for example).
It looks like the messages from the tray icon for some reason won't get MsgWaitForMultipleObjectsEx()
out of the idle state, even though I'm calling MsgWaitForMultipleObjectsEx()
with a mask QS_ALLEVENTS
.
I am using WM_USER
+ ... for NOTIFYICONDATA::uCallbackMessage
, and I also tried using the "specific" value ( WM_MOVE
, ...). Did not help.
Has anyone faced this problem?