Hi,
i have an app i wrote which can intercept the hardware keys and do
something. One of the "something" i would like to do is close
dialogues when a certain key is pressed. How can i do this?
By "dialogues", i mean modal forms AND those bubble notifications on
the taskbar.
i know how to find a window by it's class, and i know how to send a
WM_CLOSE message. i also have a key handler class that can handle the
hardware keys "globally" (meaning it doesn't matter what app i am in, i
detect when a key is pressed)...
my problem is, i can't seem to detect when one of those lil taskbar
bubble notification dialogue appears and i cant seem to "find" them. I
assume when the show up, the have the focus, since if i am typing and
they appear, i have to click back to where i was to continue typing.
However, GetActiveWindow does not return a valid Ptr/Handle when they
pop up. I also cannot find them because i do not know the Window Class
for these notification dialogues and i am currently not able to get
Remote Spy going on my machine for some reason.
any assistance would be greatly appreciated