Hi Everyone,
I have two windows and am detecting when the cursor is over a button in one
of the windows with: wNum = DIALOG(_cursEvent), btnID = DIALOG(_cursOver).
If the cursor is over a button in my non-detect window and I move the cursor
quickly to a no-button area of the button-detect window, DIALOG(_cursEvent)
returns the correct wndNum but DIALOG(_cursOver) returns the btnID of the
previous window.
Any ideas how I can get round this?
TIA
Bernie
Sample code:
wNum = DIALOG(_cursEvent)
btnID = DIALOG(_cursOver)
SELECT wndNum
CASE _ToolsWnd
SELECT btnID
CASE _toolsInBtn
EDIT$(_btnFld) = "Insert"
CASE _toolsAppBtn
EDIT$(_btnFld) = "Append"
'...
'...
CASE ELSE
EDIT$(_btnFld) = ""
END SELECT
END SELECT