|
-
Aug 28th, 2000, 08:14 PM
#1
Thread Starter
Frenzied Member
in basic it is something like Plot Points, is there something like this to draw directly to the form?
Thanks
-
Aug 29th, 2000, 06:44 PM
#2
Addicted Member
BTW: You can change size of the point drawn by changing the DrawWidth property...
-
Aug 30th, 2000, 03:59 AM
#3
New Member
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...
Give me five lines written by the most honourable of men, and I shall find in them an excuse to hang him. - Cardinal Richelieu
Ben Stappleton
VB6E SP4
-
Aug 30th, 2000, 11:22 AM
#4
PowerPoster
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
-
Aug 30th, 2000, 11:23 AM
#5
New Member
That's the fellow!
What a clever man this Fox is!
Give me five lines written by the most honourable of men, and I shall find in them an excuse to hang him. - Cardinal Richelieu
Ben Stappleton
VB6E SP4
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|