Code: Select all
Procedure CheckFocus(WinID.l, message, wParam, lParam)
Result = #PB_ProcessPureBasicEvents
Select message
Case #WM_SETFOCUS
Debug "got focus"
Case #WM_KILLFOCUS
Debug "lost focus"
EndSelect
ProcedureReturn Result
EndProcedure
What happens is that when i change tab in my tabber gadget, it tells me that my window lost focus...
what's going on here? and how do i detect that my window looses focus (instantly i need to know this when it happens) without just changing tabs in the app telling me that my window (in which this tabber resides) has lost focus?
Tim


