Hi all,
the following code snippit does indeed switch off hotkeys globally, the problem 
is switching them back on.

ConnectEvent DesktopWindow, "OnChildActivate", "MyOnChildActivate"
Sub MyOnChildActivate(win)
    win.Overlap.Settings.General.Hotkeys = FALSE
End Sub 


Following my last e-mail titled "can somebody help me with this".  I under 
stand I need to return a connect handle to disconnect the onchild event, and 
that if your interested in the return value you must include the parenthases.  
So now, how can I include a sub which is call by pressing a hotkey that will 
switch the hotkeys back on globally.  I don't know how to pass the return value 
back in this way, or, in otherwords, I don't know how to pass the disconnect 
handle back in this way
Warm regards.
Martin Webster.
 


      

Reply via email to