The code between startdrawing and stopdrawing is not executed.
Does someone knows why???
Code: Select all
; this works
StartDrawing(ImageOutput()) ;
Line (90,20,20,0)
Line(100,20,0,80)
StopDrawing()
; this works before the event handler
Repeat
EventID.l = WaitWindowEvent()
If EventID= #WM_LBUTTONDOWN
StartDrawing(ImageOutput()) ; this is not working
Line (90,20,20,0)
Line(100,20,0,80)
StopDrawing() ; this is not working
Beep_(200,100) ; this one is executed
EndIf
Registered PB version : 3.0 (Windows)
--------------------------
C. de Visser
Author of Super Guitar Chord Finder
http://www.ready4music.com
