ridcullyCZ
March 24th, 2006, 04:19 PM
Hi,
I would like to write an application, the window of which will not hide on the WINKEY+M or WINKEY+D hotkey, while all the other applications would behave as usual. I absolutelly don't have an idea how to achieve it. Please help!
Thanks a lot.
logan
March 25th, 2006, 09:48 AM
Not clear what you want. Please elaborate.
Have a look at RegisterHotKey API in MSDN maybe that will help.
ridcullyCZ
March 25th, 2006, 04:00 PM
What I want is:
Let's suppose I have several applications running on my PC and each of them has its window (Word, Notepad, Web browser,...). When I press the hotkey Win+M or Win+D, all the windows are minimized and the desktop is shown.
I'd like to write an application, that will not react on these hotkeys. That is, when pressing Win+M (or Win+D respectivelly), all the windows will be hidden, but the window of my application will stay visible despite any of the hotkeys pressed.
The application could actually be a window showing a TODO list - meeting at 9a.m., write mail to your colleague etc. The window would reside right on the desktop under all other application windows. When pressing WIN+M, all the windows would become minimized, but the TODO list would stay visible, thus ignoring the hotkey.
What I don't understand is how to make a window not to react on the hotkey pressed, what system messages are sent to what windows and how to handle the messages in the TODO application to avoid its window to be hidden.
Is it a more understandable now?