Posted: Tue Jan 22, 2002 9:08 pm
Restored from previous forum. Originally posted by cor.
What's a good place for checking mouse events in the WaitWindowEvent loop and what type of mouse command can be used?
WaitWindowEvent loop
Repeat
Select WaitWindowEvent()
Case #PB_EventMenu
Case #PB_EventRepaint
Case #WM_CLOSE ; #PB_EventCloseWindow
Quit = 1
EndSelect
Until Quit = 1
EndIf
End
Registered user of PB
C. de Visser
Author of Super Guitar Chord Finder
http://www.ready4music.com
What's a good place for checking mouse events in the WaitWindowEvent loop and what type of mouse command can be used?
WaitWindowEvent loop
Repeat
Select WaitWindowEvent()
Case #PB_EventMenu
Case #PB_EventRepaint
Case #WM_CLOSE ; #PB_EventCloseWindow
Quit = 1
EndSelect
Until Quit = 1
EndIf
End
Registered user of PB
C. de Visser
Author of Super Guitar Chord Finder
http://www.ready4music.com