I found out what is wromg with the control, but don't know how to fix or even why it is doing this...
The Usercontrol (ocx form) stays transparent... that's cool
But when the Label's (which is on the UC) BackStyle is set to "Transparency" it makes the entire label transparent... text and all.
But when the label is set to Opaque... you can see backcolor and text.
I only want to see the text ... no back color.
So something is wrong with the BackStyle property.
I tried various configurations with borderstyle, Appearance etc,..
But it is that Backstyle that is the problem.
When you put a label on a UserControl (UC) and set it to transparency, the UC has to redraw the label because it is a lightweight ctrl. Therefore the text gets wiped out and then redraw on the UC.
But the only way this will work is to use TrueTypeFonts for the label. MS SanSerif will not show up on the control. It's a system text.
So, I got it to work!!! Yeepie!
Hold on... not so fast.
Another problem....
When the UC redraws the TTFont it appears jaggie with white pixels here and there around the font.
The only way to make the white pixels disappear is to set the Label forecolor and UC backcolor the same....
Great... that works!
But... they only thing that bugs me now is the entire text looks jaggie still... kinda like the text was put on with PaintBrush or something. No anti-Alias text.
What a bummer!!
Now what do I do?
I got the control to work but it dosn't look good!
If you are porting this to .net (using the project convertor?? Good luck with that buddy ) then you may be able to use the Graphics.SmoothingMode = AntiAlias and compositing modes to produce nicer text output.