View Full Version : Hidden application
sara2006
05-29-2006, 05:45 AM
Hi
how can i put a key to restore the hidden application when user press it for example i hidden the application and i want to restore the application when i press the Ctrl+M+6
thanks for your help and sorry for my language. ;)
Wonderboy
05-29-2006, 07:43 AM
Put this On Show
Page.StartTimer(100);
then this OnTimer
if System.IsKeyDown(65) then
Window.Restore(Application.GetWndHandle())
else
if System.IsKeyDown(81) then
Window.Hide(Application.GetWndHandle());
end
end
When you press "A" the application restores and if you press "Q" then the application gets hidden
:yes
Wonderboy
05-29-2006, 08:06 AM
Allso look up Virtual Keys in the help file, for a list of keys that you might want to use.
allso you could use this on a seond timer, if you want to have different timers
sara2006
05-30-2006, 05:09 AM
thanks a lot Wonderboy :yes
Powered by vBulletin™ Version 4.0.6 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.