Sign in to follow this  
Followers 0
themax90

PageEnd operater

4 posts in this topic

#1 ·  Posted (edited)

I need a PageEnd operator. By that I mean this.

$RandomEdit = GUICtrlCreateEdit("", 10, 10, 290, 170, $WS_VSCROLL + $ES_READONLY)

$EM_SCROLL = 0x00B5

$PageDown = 3

GUICtrlSendMsg($RandomEdit, $EM_SCROLL, $PageDown, 0)

I need PageEnd.

Does anyone know what operator it is?

Edited by AutoIt Smith

Share this post


Link to post
Share on other sites



#3 ·  Posted (edited)

I need it to scroll the the VERY END, not just one page or one line, the very end of the edit.

Edit : Figured it out myself...

_GUICtrlEditLineScroll($History, 0, _GUICtrlEditGetLineCount($History))

Edited by AutoIt Smith

Share this post


Link to post
Share on other sites

guess you could always send it a ctrl+end and then _GUICtrlEditScroll using $SB_SCROLLCARET


SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Share this post


Link to post
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
Sign in to follow this  
Followers 0