Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.basic.visual.misc > #88

Re: Adding the Picture Property to a RichTextBox control (VB6)

From "Mike Williams" <Mike@WhiskyAndCoke.com>
Newsgroups comp.lang.basic.visual.misc
Subject Re: Adding the Picture Property to a RichTextBox control (VB6)
Date 2011-04-23 16:43 +0100
Organization A noiseless patient Spider
Message-ID <ious2d$l54$1@dont-email.me> (permalink)
References <be977bb4-7fa1-4ae8-9751-c1d649078ef5@2g2000vbl.googlegroups.com> <ef6bf455-0be3-47bb-8eb5-5dda86621124@l2g2000prg.googlegroups.com>

Show all headers | View raw


"Jason Bodine" <jbodine1974@gmail.com> wrote in message 
news:ef6bf455-0be3-47bb-8eb5-5dda86621124@l2g2000prg.googlegroups.com...

> Nothing?  Anybody????? LOL

Use WS_EX_TRANSPARENT on the RichTextBox and then place an Image Control 
behind it (rather than a PictureBox) and all your troubles will be little 
ones ;-)  If you want a solid back colour instead of a picture then simply 
assign a picture of a suitably sized solid block of colour to the Image 
Control. Each time you change the contents of the Image Control (each time 
you change its Picture property) then follow the change with a DoEvents and 
a RichTextBox.Refresh.

Mike

Back to comp.lang.basic.visual.misc | Previous | NextPrevious in thread | Find similar


Thread

Adding the Picture Property to a RichTextBox control (VB6) Jason Bodine <jbodine1974@gmail.com> - 2011-04-19 02:02 -0700
  Re: Adding the Picture Property to a RichTextBox control (VB6) Jason Bodine <jbodine1974@gmail.com> - 2011-04-23 05:04 -0700
    Re: Adding the Picture Property to a RichTextBox control (VB6) "Mayayana" <mayayana@invalid.nospam> - 2011-04-23 09:51 -0400
      Re: Adding the Picture Property to a RichTextBox control (VB6) Jason Bodine <jbodine1974@gmail.com> - 2011-04-23 11:52 -0700
        Re: Adding the Picture Property to a RichTextBox control (VB6) "Mayayana" <mayayana@invalid.nospam> - 2011-04-23 15:56 -0400
        Re: Adding the Picture Property to a RichTextBox control (VB6) "Mike Williams" <Mike@WhiskyAndCoke.com> - 2011-04-23 21:41 +0100
    Re: Adding the Picture Property to a RichTextBox control (VB6) "Mike Williams" <Mike@WhiskyAndCoke.com> - 2011-04-23 16:43 +0100

csiph-web