Probleme mit PureRESIZE Lib

Anfängerfragen zum Programmieren mit PureBasic.
Benutzeravatar
gnozal
Beiträge: 219
Registriert: 04.12.2004 13:01
Wohnort: Frankreich (67)
Kontaktdaten:

Beitrag von gnozal »

Ein tip :

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
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Antworten