Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
horizontal scroll issues (WM_HSCROLL)
#2
Code:
Copy      Help
,,SendMessageW(id(3 hDlg) EM_SETSEL txt.IndexToUtf16(charranges[0 0].cpMin) txt.IndexToUtf16(charranges[0 0].cpMax)) ;; IndexToUtf16 -> https://www.libreautomate.com/forum/showthread.php?tid=7782       
,,f=txt.IndexToUtf16(charranges[0 0].cpMin)+1 ;; Need to do + 1 or else we keep stuck at the current search result

->
 
Code:
Copy      Help
,,SendDlgItemMessage hDlg 3 WM_VSCROLL SB_TOP 0
,,SendDlgItemMessage hDlg 3 WM_HSCROLL SB_LEFT 0
,,SendMessageW(id(3 hDlg) EM_SETSEL txt.IndexToUtf16(charranges[0 0].cpMin) txt.IndexToUtf16(charranges[0 0].cpMax)) ;; IndexToUtf16 -> https://www.libreautomate.com/forum/showthread.php?tid=7782
,,f=charranges[0 0].cpMin+1 ;; Need to do + 1 or else we keep stuck at the current search result


Messages In This Thread
horizontal scroll issues (WM_HSCROLL) - by r0n - 12-24-2024, 11:49 PM
RE: horizontal scroll issues (WM_HSCROLL) - by Gintaras - 12-25-2024, 07:36 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)