By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,988 Members | 1,350 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,988 IT Pros & Developers. It's quick & easy.

System.Windows.Forms.Form and System.Windows.Forms.RichTextBox

P: n/a
1. When i refresh control, position of scrollbars is deleted.

I can not change BackgroundImage from System.Windows.Forms.RichTextBox
before text of control is painted and after.
I tried use events Paint,BackgroundImagedChanged and timer event for
graphics painting.

2. Can i make transparent background System.Windows.Forms.RichTextBox?
Mar 22 '06 #1
Share this Question
Share on Google+
4 Replies


P: n/a
I tried too do it:

System.Drawing.Bitmap bitmapa=new
System.Drawing.Bitmap(control.Width,control.Height );

bitmap.MakeTransparent(control.BackColor);

control.BackgroundImage=bitmap;

not run
Mar 22 '06 #2

P: n/a
On Wed, 22 Mar 2006 01:05:30 +0100, Piotr wrote:
2. Can i make transparent background System.Windows.Forms.RichTextBox?


No you can't. I remember having seen 2 years ago or do on the web
experiments at trying to make a RichTextBox transparent using Win32 APIs
but it resulted pretty bad and / or unstable results.
Mar 22 '06 #3

P: n/a
Should create self control.
Security for .Net is too many thinking and making complications.
No you can't. I remember having seen 2 years ago or do on the web
experiments at trying to make a RichTextBox transparent using Win32 APIs
but it resulted pretty bad and / or unstable results.

Mar 22 '06 #4

P: n/a
On Wed, 22 Mar 2006 23:56:05 +0100, Piotr wrote:
Should create self control.
Security for .Net is too many thinking and making complications.


??? Were you answering my post?
Mar 23 '06 #5

This discussion thread is closed

Replies have been disabled for this discussion.