paint thing

Blitz3D Forums/Blitz3D Beginners Area/paint thing

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I am making a sort-of MS Paint clone thing(just to see if I could do it)and I am have trouble with being able to draw anything :( I have tried(for the pencil tool):
If MouseDown(1) :Rect MouseX(),MouseY(),1,1,1:EndIf
and I have also tried: pencil=LoadImage("pencil.bmp")
If MouseDown(1) :DrawImage pencil,MouseX(),MouseY():Endif

But those don't seem to work :(
Anybody know?