Jump to content

Scrolling a rich text box


Recommended Posts

Hallo Andrew

something like this

With $ComponetPool
   .SelStart = 0
   DllCall("user32.dll","long","SendMessage","hwnd",.Hwnd,"int",$EM_LINESCROLL,"int",0,"int",$iLines)
EndWith

This will scroll the component int $ilines from top

This post should actually have been listed in ActiveX/Com support...

kjactive :)

Edited by kjactive
Link to comment
Share on other sites

Thanks kjactive, that should help. I must confess, I'd not actually noticed the Activex/COM forum before :-)

Regards,

Andy

Hallo Andrew

something like this

With $ComponetPool
   .SelStart = 0
   DllCall("user32.dll","long","SendMessage","hwnd",.Hwnd,"int",$EM_LINESCROLL,"int",0,"int",$iLines)
EndWith

This will scroll the component int $ilines from top

This post should actually have been listed in ActiveX/Com support...

kjactive :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...