ResizeGadget and #WM_MouseMove
ResizeGadget and #WM_MouseMove
Any idea why the result of ResizeGadget(#Gadget,var,-1,-1,-1) results in a #WM_MouseMove message?
It doesn't.
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

