Scintilla SETVSCROLLBAR

Just starting out? Need help? Post your questions and find answers here.
User avatar
rndrei
Enthusiast
Enthusiast
Posts: 184
Joined: Thu Dec 28, 2023 9:04 pm

Scintilla SETVSCROLLBAR

Post by rndrei »

When I run the program, there is an empty field in #SCI,
There is a horizontal stripe but no vertical stripe. How to display a vertical scroll bar when the document is empty?
Values ​​are set to TRUE:

Code: Select all

 ScintillaSendMessage(#SC, #SCI_SETHSCROLLBAR,#True)
 ScintillaSendMessage(#SC, #SCI_SETVSCROLLBAR,#True)
Under Linux the bar is there, everything works, but under Windows it appears only when the text goes out of bounds!?