settimer displayCursor, 10 return displayCursor() { if a_cursor = 'IBeam' { MouseGetPos ,,, &OutputVarControl, 2 hwnd := ControlGetFocus('A') if (OutputVarControl = hwnd) tooltip a_cursor ' is in edit mode' else tooltip a_cursor ' is NOT in edit mode' } }