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.
Printable View
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.
so... how you draw that line?
who? me or him ?
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?
Well then yeah back to fox's question, how are you drawing the line :)
See attached example.
Trying changing color to white (Proc: DrawLine) and line doesn't'show at all.
Step away with that API Pens.. ^_^
Fox:
You're going to have to elaborate more as I'm not understanding your question or comment.
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..?
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.
Anyone else have a solution or is this unsolvable??