Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Set scrollbar position in QM_DlgInfo-control
#2
QM_DlgInfo control is Scintilla.
QM code editor control is Scintilla too.

https://www.scintilla.org/ScintillaDoc.h...cScrolling

Code:
Copy      Help
,,if(wParam>0) ;; on activate, set scrollbarpos
,,,SendDlgItemMessage(hDlg 3 SCI.SCI_SETFIRSTVISIBLELINE pos+10 0)
,,if(wParam=0) ;; on deactivate, save scrollbar pos
,,,pos=SendDlgItemMessage(hDlg 3 SCI.SCI_GETFIRSTVISIBLELINE 0 0)
,,,outt F"position saved: {pos}"


Messages In This Thread
RE: Set scrollbar position in QM_DlgInfo-control - by Gintaras - 02-20-2020, 11:55 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)