Sort of overlay effect.....

I want to display some Text on a Map. One obvious way is to use a Label control and then make it visible at the time I need it...... But I want it to be semi-transparent i.e the overlay effect......How can this be done?
The Map is displayed on MapObjects control......It has a hDC......So can I use some blitting technique to blit text on the map semi-transparently?
A code snippet will be appreciated......

Imran
LVL 13
imarshadAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ArkCommented:
Another way - using AlphaBlend API from msimg32.dll. See my sample at http://freevbcode.com/ShowCode.Asp?ID=1501

ryancys, hello from China! :) Malaysia is much more close from here than from Russia :)
0
aikimarkCommented:
You will be unable to use a label control (with transparent background) for this purpose.  The label
sits on a different graphical layer than other controls.
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

imarshadAuthor Commented:
Sorry about the delay.....Since it was the holy month of Ramazan for the Muslims so I couldnot spend much time on Internet so thats why this Question is still open.....

Imran
0
imarshadAuthor Commented:
As far as the Question is concerned the closest that I have been is by using this code

http://www.Planet-Source-Code.com/vb/scripts/ShowCode.asp?txtCodeId=55388&lngWId=1

I changed the Border Style of the Form to None and inserted a Label on the form and I simply show/hide my form with text at a position......This looks great with one deficiency....The Label's Text is also faded out.....Can some of you help me to get out of this drawback so that the Text on the Form's label donot fade out with the Form????? Or suggest some better way....

Imran
0
moduloCommented:
PAQed with points refunded (500)

modulo
Community Support Moderator
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.