Windows API mouse commands no longer work
Posted: Sat Jan 26, 2013 8:31 pm
On PB 5.0 they work fine, but i recently downloaded the newest beta and they no longer seem to work.
Any help is appreciated.
Any help is appreciated.
Code: Select all
If OpenWindow(0, 0, 0, 800, 600, "Test", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
StartDrawing(WindowOutput(0))
Box(0,0,800,600,RGB(0,0,0))
StopDrawing()
EndIf
Repeat
Event= WaitWindowEvent()
Select event
Case #WM_LBUTTONUP
Debug "Left Button Up"
Case #WM_RBUTTONUP
Debug "Right Button Up"
EndSelect
Until Event = #PB_Event_CloseWindow
End