Hello Steven,
Since this is a .NET Compact Framework question, I'd suggest you post it in
the Compact Framework newsgroup. You will find more qualified CF experts
and get better support there from the community. The newsgroup for .NET CF
is:
microsoft.public.dotnet.framework.compactframework
Thank you and I appreciate your understanding.
Besides, I'd still like to share some of my thoughts on this problem.
If this was on Windows Desktop, we can use a Panel control to contain a
picture instead of a PictureBox to make a Label control with background
color set to transparent work. This works because .NET will try to
*simulate* transparency, not because Windows supports this feature
natively. You may want to read the document on BackColor property for more
information (especially the Remark section):
http://msdn.microsoft.com/en-us/library/system.windows.forms.control.backcol
or(VS.80).aspx
However, this technique seems not working with CF. So I believe we
basically have two options:
1. Make our own custom Label control to support transparent background.
2. Do not use a label control at all, use DrawString method to paint the
string directly onto the picture.
http://msdn.microsoft.com/en-us/library/system.drawing.graphics.drawstring(V
S.80).aspx
Regards,
Jie Wang (
[email protected], remove 'online.')
Microsoft Online Community Support
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-us/subscriptions/aa948868.aspx#notifications.
Note: MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 2 business days is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions. Issues of this
nature are best handled working with a dedicated Microsoft Support Engineer
by contacting Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/en-us/subscriptions/aa948874.aspx
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.