|
-
May 17th, 1999, 05:26 PM
#1
How to erase background while drawing text
hi,
I m working on application which requires automatic scrolling text in a cycle.I m using doc/view for this.I am using WM_TIMER message n drawing the text..but while drawing text on WM_TIMER message its not erasing the previous drawn text..
Thanks in advance.
-
May 18th, 1999, 04:14 AM
#2
Re: How to erase background while drawing text
I assume you are talking about a marquee-like object, scrolling text from left to right. Suppose you are drwing text in black, on a white background.
When the timer ticks, first choose a white pen and draw the same text at the same location. This erases the previous text. Then choose a black pen and draw the new text at the new location.
Rajaraman
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
|