But how can i intercept systray events inside the WindowCallback procedure ?
With the help of the debugger i found something and i do it this way :
Code: Select all
Procedure WindowCB( hWnd.l, Message.l, wParam.l, lParam.l )
Result.l = #PB_ProcessPureBasicEvents
Select Message
Case $30D6 ; systray event
Select LoWord( lParam )
Case #WM_LBUTTONDBLCLK ; ldblclick
Case #WM_RBUTTONDOWN ; rmb
EndSelect
EndSelect
ProcedureReturn Result
EndProcedure
Which constante is attached to this value : $30D6 ?
Why this value is different from the #PB_Event_SysTray value ?
#PB_Event_SysTray value is $332E, and i can't see it in Win32 API docs.
So are systray events privates, chosen by Fred ?
Well, to be short, my "Case $30D6" works for now but can i rely on :roll: ?
thanx
