qwe
08-27-2004, 09:14 PM
I want to write a program (for windows) that goes away when I press some keys and then comes back when I press them again. If anyone can point me to a website or something that would be really helpful. Thanks
|
Click to See Complete Forum and Search --> : peek-a-boo qwe 08-27-2004, 09:14 PM I want to write a program (for windows) that goes away when I press some keys and then comes back when I press them again. If anyone can point me to a website or something that would be really helpful. Thanks rock 08-29-2004, 11:14 PM Aft-F4 works pretty well to make a program go away ;) What do mean by "go away"? To just minimize? Or really suspend its state and close? qwe 08-30-2004, 06:21 PM I mean I want to be able to close the window of the program but still leave the program running so that when I want to use it again, I just have to type in a certain key combination xDUCK 08-31-2004, 02:31 PM This should be as easy as creating a WinMain, a window to show/hide, and listening for keystrokes. I assume you know how to do the first two - as for the second, just search the web for C++ keyboard tutorials. rock 08-31-2004, 04:02 PM The problem is that when it's "gone" it doesn't have focus and will have trouble responding to keyboard events. You're going to have to poll the keyboard at a much lower level than I'm used to dealing with in the .NET and Java worlds. qwe 09-01-2004, 09:23 PM thanks for the advice. SharkyExtreme.com
Copyright Internet.com Inc. All Rights Reserved. |