|
-
May 4th, 2000, 05:16 AM
#1
I know I've asked this bfore but I never got a clear answer.
When you use the SetPixel method, how do you make it so that the pixels don't disappear when you draw on an hDC??
-
May 5th, 2000, 12:37 AM
#2
Fanatic Member
Set the .AutoRedraw to true and then use .Refresh to show
the pixel

About the only thing I know ...
-
May 5th, 2000, 02:18 AM
#3
transcendental analytic
Another bonus question (and its hard)
How do i make it with foreign applications withour having it remove the points?
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
May 5th, 2000, 03:08 AM
#4
Very Basic> But when the AutoRedraw is set to true, nothing appears at all. Is this suppose to happen? If I put the Refresh command after the setpixel, would the pixel not disappear then?
-
May 5th, 2000, 07:48 PM
#5
Frenzied Member
what exactly are you doing, getting it to work for a picture box is much easier than getting it to work for a form in another app.
Ked, I've told you, you need to subclass the other window, I think I might give up on doing this in pure VB, you'll have to learn C++ if you want to do this.
unless there's something in VB7 but that's still at least a year away.
-
May 5th, 2000, 08:05 PM
#6
transcendental analytic
I'm going to wait for VB7!!! But also i'm going to learn some C starting at autumn, when im going to Åbo academy, and also Sam, i won't need to work to get money hehe
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
May 5th, 2000, 09:19 PM
#7
Even when I draw on a picture box, this same problem occurs.
-
May 5th, 2000, 10:16 PM
#8
Wait, nevermind, I used the refresh command and it works so don't worry about me
-
May 5th, 2000, 10:48 PM
#9
transcendental analytic
Sam, I thought you was working on this problem?
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
May 5th, 2000, 11:11 PM
#10
Frenzied Member
yeah I was, I found out that none of the Ideas I had worked.
It's not really an easy thing to do.
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
|