$editbox(window,N).focus

returns $true or $false if the specified window's editbox has focus.
N is optional and if specified as 1, returns for the first editbox, if 2 then .focus returns for the 2nd.


I am SReject
My Stuff