Oct 1st, 2001, 05:30 AM
#1
Thread Starter
Retired VBF Adm1nistrator
A lot of the time while images are being dragged/moved around the screen windows doesnt paint the image properly.
I've seen the same thing happen lots of times, and I believe users expect that kind of thing.
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
Oct 1st, 2001, 08:09 AM
#2
PowerPoster
so... how you draw that line?
Oct 1st, 2001, 08:11 AM
#3
Thread Starter
Retired VBF Adm1nistrator
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
Oct 1st, 2001, 08:19 AM
#4
PowerPoster
plenderj:
Thanks for the feedback. I've seen a program where colors remain as choosen while being dragged.
Question still is -- how did they do it?
Oct 1st, 2001, 08:22 AM
#5
Thread Starter
Retired VBF Adm1nistrator
Well then yeah back to fox's question, how are you drawing the line
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
Oct 1st, 2001, 11:25 AM
#6
PowerPoster
See attached example.
Trying changing color to white (Proc: DrawLine) and line doesn't'show at all.
Attached Files
Oct 1st, 2001, 03:04 PM
#7
PowerPoster
Step away with that API Pens.. ^_^
Oct 1st, 2001, 06:23 PM
#8
PowerPoster
Fox:
You're going to have to elaborate more as I'm not understanding your question or comment.
Oct 2nd, 2001, 12:17 AM
#9
PowerPoster
Hm well, why don't you just select draw color by setting the picturebox's ForeColor (or FillColor? try both) and then draw the line with MoveToEx/LineTo..?
Oct 2nd, 2001, 08:04 AM
#10
PowerPoster
Fox:
Have tried it setting picbox colors as you suggest. Same thing.
FYI - .ForeColor calls the API, so have eliminated one step with my code.
Oct 3rd, 2001, 08:26 AM
#11
PowerPoster
Anyone else have a solution or is this unsolvable??
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