Mike,  

--- Mike Janger <[EMAIL PROTECTED]> wrote:
> How can I put a scrollbar on a RichEdit control?  Is
> it a style?

The code below works for me.  Another style I've seen
added sometimes is ES_AUTOVSCROLL.  I don't really know
what all of these styles do though.  I mean these ones
seem pretty self-explanitory but I've never seen any
documentation for them so I can't be sure they arn't
doing something completly unexpected.  If someone could
point me towards info on these styles please let me
know.  I hope this code helps you Mike.


$Win->AddRichEdit( -name  => "Text",
                   -text    => "",
                   -left    => $left, 
                   -top     => $top,
                   -width   => $Win->ScaleWidth, 
                   -height  => $Win->ScaleHeight,
                   -style   => WS_VISIBLE | WS_VSCROLL 
                   | ES_MULTILINE,
                   );


Cam Watson



=====
Quote of the Day:
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

Reply via email to