z-order of painted text
-
Hi all, I have a .net 1.1 application, where i use drawstring function and paint the text on a picturebox. I also try to move the text, by changing the position . The text i move ,overlapps the text that comes on its way. I dont want it to overlapp. The moved text has to go from behind the text that comes on its way. I tried by repainting the text over the moved text, but it did not work. Any ideas......... Thanks.
-
Hi all, I have a .net 1.1 application, where i use drawstring function and paint the text on a picturebox. I also try to move the text, by changing the position . The text i move ,overlapps the text that comes on its way. I dont want it to overlapp. The moved text has to go from behind the text that comes on its way. I tried by repainting the text over the moved text, but it did not work. Any ideas......... Thanks.
The position of the text depends on the order that you are painting it in. If you need to bring it to the front then you need to paint it after you paint the text that it needs painting over.
Deja View - the feeling that you've seen this post before.