I have a key action defined for the application. How can I know the context, the window, dialog and control where is pressed?
I don't want to define the key action for each window, dialog, folder, control. I've been trying with oWnd:oCtlFocus but always be empty.
static oWnd
function Main()
SetKey( VK_F2, { | cProc, nLine, cVar, x | Donde(cProc, nLine, cVar, x) } )
...
function Donde(cProc, nLine, cVar, x)
...
return nilI don't want to define the key action for each window, dialog, folder, control. I've been trying with oWnd:oCtlFocus but always be empty.
Jorge Ignacio Corral
Enjoy it :)
Enjoy it :)