Jump to content

Recommended Posts

Posted

I have tried disabling it (GUICtrlSetState(-1, $GUI_DISABLE) it), but I can't scroll down.

What I want to do is make the user not able to edit it manually. He/she will just be able to copy the content and use the scrollbars.

The content will be set from the script. How can I do this without disabling the control, or is there a way to enable scrolling while the control is disabled?

"The story of a blade is linked in Blood." 

―Yasuo

 

Posted (edited)

*facedesk* thanks lol

Didn't even think about readonly lol

Edited by megablox

"The story of a blade is linked in Blood." 

―Yasuo

 

Posted

Hm, I just noticed that when I use the $ES_READONLY style it disables the vertical scrollbar (does it matter having the horizontal scrollbar disabled?)

"The story of a blade is linked in Blood." 

―Yasuo

 

Posted

Hm, I just noticed that when I use the $ES_READONLY style it disables the vertical scrollbar (does it matter having the horizontal scrollbar disabled?)

Maybe this?

;edit ctrl style

BitOR($ES_READONLY, $ES_AUTOHSCROLL) ;scroll bar not visible
BitOR($ES_READONLY, $WS_HSCROLL) ;scroll bar visible

Br, FireFox.

Posted

Yeah it works, I used GUICtrlSetStyle(-1, BitOR($ES_READONLY, $WS_VSCROLL)) and it worked fine. Thanks!

"The story of a blade is linked in Blood." 

―Yasuo

 

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
×
×
  • Create New...