[shell-coding] Re: Shell_TrayWnd: unusual WM_COPYDATA messages


I've noticed something odd (seemed odd to me at least) when debugging LiteStep's TrayService:
As you know WM_COPYDATA is sent to the "tray" window on several occasions. The "dwData" member of the COPYDATASTRUCT tells us what kind of message we just received. If it equals 1 it's a tray message from Shell_NotifyIcon, if it equals 0 it's an appbar message from SHAppBarMessage. So I'm stating the obvious here. But today I saw messages with dwData set to 2. cbData was 20 in those cases. Those are new to me. The messages occured when launching iexplore.exe (each and every time). Can anyone confirm this? Does anyone have any idea what kind of messages they are?



I think a WM_COPYDATA message is also sent to Shell_TrayWnd when someone calls SHLoadInProc. I saw some code once that handled it, but I cannot find a reference to it anywhere now. That might be what you're seeing.

--
Maduin



__________________________________________________
Subscription options and archive:
http://www.freelists.org/list/shell-coding

Other related posts: