Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Scroll multiline edit to bottom
#1
Is there a way I can send a 'scroll to bottom' command to a QM multiline dialog control?
I could activate it and send the [CTRL]+[END] keys but I was wondering if there was a better way?
There is a EN_VSCROLL message, but how do I use it? (if it is usable).
https://docs.microsoft.com/en-us/windows...en-vscroll

(Could find only 1 topic about this: http://www.quickmacros.com/forum/showthr...EN_VSCROLL but maybe searched incorrectly?)
#2
something like this should work for ya

Code:
Copy      Help
int hwnd=id(5 hDlg);;change to  window and id of edit control
SendMessage(hwnd WM_VSCROLL SB_BOTTOM 0)
#3
Thanks!


Forum Jump:


Users browsing this thread: 1 Guest(s)