Natürlich kann man das #PB_Event_ResizeWindow (#WM_SIZE) in dem Callback abfangen :
Code: Alles auswählen
Procedure.l WindowCallBack(WindowId.l, message.l, wParam.l, lParam.l)
ReturnValue.l = #PB_ProcessPureBasicEvents
;
ReturnValue = PureRESIZE_CallBack(WindowId, message, wParam, lParam, ReturnValue)
If message = #WM_SIZE And WindowId = WindowID(#MyWindow)
Debug "Window resized"
EndIf
;
ProcedureReturn ReturnValue
EndProcedure