ResizeGadget and #WM_MouseMove
Posted: Wed Aug 31, 2005 10:39 am
				
				Any idea why the result of ResizeGadget(#Gadget,var,-1,-1,-1) results in a #WM_MouseMove message?
			http://www.purebasic.com
https://www.purebasic.fr/english/
Code: Select all
If OpenWindow(0,0,0,222,200,#PB_Window_SystemMenu|#PB_Window_ScreenCentered,"ButtonGadgets") And CreateGadgetList(WindowID(0))
  ButtonGadget(0, 10, 10, 200, 20, "Standard Button")
  Repeat
    ResizeGadget(0, 0, 2, 200, 20)
    Event = WaitWindowEvent()
    If Event=#PB_Event_CloseWindow
      Break
    EndIf
    If Event=#WM_MOUSEMOVE
      Debug Event
    EndIf
  ForEver
EndIf