|
-
Aug 24th, 2007, 09:49 AM
#1
Thread Starter
Hyperactive Member
[RESOLVED] [02/03] RichTextBox opacity
Hello!
I've done a little Notepad clone.
It works great. Now, what I want to do is to set different opacity to my text area (is a richtextbox object).
I want it to be just like this picture, setting the background area but not any of the text typed.
http://ez.no/var/ezno/storage/images..._ini_files.png
Thank you.
-
Aug 24th, 2007, 10:22 AM
#2
Thread Starter
Hyperactive Member
Re: [02/03] RichTextBox opacity
I've been trying to use the transparencyKey but all RTbox acts like it does not exist.
Do I have to use API?
-
Aug 27th, 2007, 03:43 AM
#3
Thread Starter
Hyperactive Member
Re: [02/03] RichTextBox opacity
It is really important to me to know if there is any chance to do what I would like to do.
If it is not possible, please tell me.
Thank you.
-
Aug 27th, 2007, 04:30 AM
#4
Re: [02/03] RichTextBox opacity
It may be possible in .NET 3.0+ but certainly not before without some extreme jiggery-pokery. It's simply not supported. Controls can't have individual opacity. Only the form has an Opacity property and it's for the entire form, child controls and all.
-
Aug 27th, 2007, 04:43 AM
#5
Thread Starter
Hyperactive Member
Re: [02/03] RichTextBox opacity
But do you think it can be done using API?
Thank you.
-
Aug 27th, 2007, 04:59 AM
#6
Re: [02/03] RichTextBox opacity
I very much doubt it, other than maybe on Vista.
Last edited by jmcilhinney; Aug 27th, 2007 at 05:04 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|