Transparent TextBox

Jan 28, 2009 at 8:49pm
I've looked around the internet endlessly try to find a way of doing this in C++ and haven't been able to find a single working method.

How would I go about making a textbox in a Windows form transparent so that It displays text and shows any objects beneath it such as imageboxes etc. I've tried with labels, but the transparent background property on the label does not show objects on the form either.

Thanks.
Jan 28, 2009 at 9:08pm
closed account (z05DSL3A)
There is an article on CodeProject[1] that may be of help. You could look at his method and apply it to your own code.


[1] http://www.codeproject.com/KB/edit/alphablendtextbox.aspx
Jan 29, 2009 at 10:44am
I've looked up on that before, thing is that that method doesnt allow the extbox to show any control underneath, thanks for the help, but I think I'm going to end up having to directly draw the text to the form rather than in a textbox to avoid transparency problems.

Thanks Anyway, but i'm gonna have to end up asking a different question in another topic ^_^;
Jan 29, 2009 at 4:10pm
Ask on Win32 ng
news://comp.os.ms-windows.programmer.win32
for the (simple and 12 years old) official method (MS)
Topic archived. No new replies allowed.