in basic it is something like Plot Points, is there something like this to draw directly to the form?
Thanks :D
Printable View
in basic it is something like Plot Points, is there something like this to draw directly to the form?
Thanks :D
BTW: You can change size of the point drawn by changing the DrawWidth property...
There's also an API call that's quite a bit faster than PSet. I used it to draw a minimap for a game I was creating a while back.
I'll dig it out for you when I go home tonight if someone in here doesn't know it off the top of their head...
It's SetPixelV ;)
You use it as this:
Code:'Declares
Private Declare Function SetPixelV Lib "gdi32" Alias "SetPixelV" (ByVal hdc As Long, ByVal x As Long, ByVal y As Long, ByVal crColor As Long) As Long
'Set the pixel
SetPixelV Me.hDC, 10, 10, 255 'Sets a red pixel
That's the fellow!
What a clever man this Fox is!