Drawing text to the Desktop wnd
-
My goal is to have some text displayed on the desktop all the time. In experimenting I found that I can easily draw text to the Desktop, but as soon as the next repaint of the Desktop I lose it. Would I need to intercept messages (i.e. Paint) going to the Desktop so that I can repaint my text to be displayed everytime ? And how would I keep the text just at the level of the Desktop, for example, I wouldn't want the text to paint over IE ? Thanks.
R.Bischoff
-
My goal is to have some text displayed on the desktop all the time. In experimenting I found that I can easily draw text to the Desktop, but as soon as the next repaint of the Desktop I lose it. Would I need to intercept messages (i.e. Paint) going to the Desktop so that I can repaint my text to be displayed everytime ? And how would I keep the text just at the level of the Desktop, for example, I wouldn't want the text to paint over IE ? Thanks.
R.Bischoff
Probably a bad idea...you should look into shell programming probably... If nothing in there will solve your issue...then get the bitmap your user has set as a background, draw on it, save a new bmp (background w/ your text on it) and set it as the new background. If there not using any bmp for backgrounds, then make them :) How do I print my voice mail?
-
My goal is to have some text displayed on the desktop all the time. In experimenting I found that I can easily draw text to the Desktop, but as soon as the next repaint of the Desktop I lose it. Would I need to intercept messages (i.e. Paint) going to the Desktop so that I can repaint my text to be displayed everytime ? And how would I keep the text just at the level of the Desktop, for example, I wouldn't want the text to paint over IE ? Thanks.
R.Bischoff
-
My goal is to have some text displayed on the desktop all the time. In experimenting I found that I can easily draw text to the Desktop, but as soon as the next repaint of the Desktop I lose it. Would I need to intercept messages (i.e. Paint) going to the Desktop so that I can repaint my text to be displayed everytime ? And how would I keep the text just at the level of the Desktop, for example, I wouldn't want the text to paint over IE ? Thanks.
R.Bischoff
-
Probably a bad idea...you should look into shell programming probably... If nothing in there will solve your issue...then get the bitmap your user has set as a background, draw on it, save a new bmp (background w/ your text on it) and set it as the new background. If there not using any bmp for backgrounds, then make them :) How do I print my voice mail?
I like your idea. You know, XP has some registry setting that when enabled it displays the OS version on your desktop, I wonder how they do that ? What about creating a transparent window, that is always +1 level than the desktop. Then I would just write my text to that window ? Thanks to all.
R.Bischoff
-
I like your idea. You know, XP has some registry setting that when enabled it displays the OS version on your desktop, I wonder how they do that ? What about creating a transparent window, that is always +1 level than the desktop. Then I would just write my text to that window ? Thanks to all.
R.Bischoff
Soliant wrote: the OS version on your desktop, I wonder how they do that ? Use Spy and figure out if it's a window or not...it could be using Active desktop (which i am not familiar with) or just a transparent window like you suggest. How do I print my voice mail?