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??
Printable View
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??
Set the .AutoRedraw to true and then use .Refresh to show
the pixel
:D
About the only thing I know :( ...
Another bonus question (and its hard)
How do i make it with foreign applications withour having it remove the points?
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?
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.
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
Even when I draw on a picture box, this same problem occurs.
Wait, nevermind, I used the refresh command and it works so don't worry about me :)
Sam, I thought you was working on this problem?
yeah I was, I found out that none of the Ideas I had worked.
It's not really an easy thing to do.