By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,158 Members | 1,385 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,158 IT Pros & Developers. It's quick & easy.

Text floating in front of a window.

P: n/a
UJ
I want to display a message to the user that appears to float in front of a
window. I could do it with another window but there's no way to make the
window itself completely transparent but still see the text.

Is there any way to do this?

To reiterate - I want to put text up that is over my current window - just
text - no window, no borders, no nothing.

Any ideas?

TIA - Jeff.
Mar 28 '06 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Hi,
"UJ" <fr**@nowhere.com> wrote in message
news:ex**************@TK2MSFTNGP09.phx.gbl...
I want to display a message to the user that appears to float in front of a
window. I could do it with another window but there's no way to make the
window itself completely transparent but still see the text.

Is there any way to do this?


Not sure if you can use the text as a label and still get your effect. What
I do know works for sure is if you have a bitmap as the background , if so
you can set the white surrounding the text the transparent color . See
http://www.thescarms.com/dotnet/IrregularForm.asp for the code for this.

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
Mar 28 '06 #2

P: n/a
create a dialoge popup form. and set the transparancy of the form to
it's control color.
'floating controls' is exactly the sort of thing that Arian Kulp talks
about in his article 'Tricking out your applications'

http://msdn.microsoft.com/coding4fun...p/default.aspx

the part that deals with what you're talking about is title 'customize
the form'.

Good Luck !

Gary.

Mar 28 '06 #3

P: n/a
UJ
Thanks everybody. But this seems to only work on an image. Is there any way
to do it with a label field? I've tried playing with all of the transparent
key stuff and the window always shows up. (The background of the text always
seems to be there no matter what I set it to.)

<ga********@myway.com> wrote in message
news:11**********************@z34g2000cwc.googlegr oups.com...
create a dialoge popup form. and set the transparancy of the form to
it's control color.
'floating controls' is exactly the sort of thing that Arian Kulp talks
about in his article 'Tricking out your applications'

http://msdn.microsoft.com/coding4fun...p/default.aspx

the part that deals with what you're talking about is title 'customize
the form'.

Good Luck !

Gary.

Mar 29 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.