Click to See Complete Forum and Search --> : Not able to hide messenger notifications


mkokadwar
June 9th, 2009, 06:56 AM
Hi All,

My requirement is, I have to open a window in maximized state and on top of all other applications.
I'm able to do it using the code like SetWindowPos(g_hWnd,HWND_TOPMOST,...) and ShowWindow(g_hWnd,SW_MAXIMIZE);

I was able to make the window appear on top of all other applications but still messenger (like gTalk, yahoo etc) notifications are able to pop over it.
My question is how can I suppress/hide/delete/change z-order/disable the notifications so that they do not appear over my window?

Thanks

PS - It will be perfectly fine if they appear behind the window.

TIA

_Superman_
June 9th, 2009, 11:01 PM
You will probably need to install a shell hook (SetWindowsHookEx) to get notification that a window is created and then change the z-order of you window again.

mkokadwar
June 10th, 2009, 10:49 AM
Thanks. But I'm new to windows API and not aware of many things. Any code hint would be helpful.

Thanks

mkokadwar
June 11th, 2009, 06:44 AM
Thanks carl666, but I'm not able to find any. May be I'm not able to search it properly. Could you please point me to one?

Thanks