Jump to content
Sign in to follow this  

No Scrollbar and Readonly

Recommended Posts


How do i create an edit that is readonly, and does not contain a scrollbar?

I know readonly is something like this guictrlcreateedit("text", 10, 10, 10, 10, $EX_READONLY)

but i have no idea about the scrollbar. Thanks!

global $warming = true

Share this post

Link to post
Share on other sites

#include <EditConstants.au3>

GUICreate('Test', 10, 10)
GUICtrlCreateEdit('Text', 10, 10, 10, 10, $ES_READONLY)

You had it right to start off with :)

If you designate style or extended style then the default ones are not used (i believe, may not be 100% correct).


You had it slightly wrong, it's $ES, not $EX.

Edited by SxyfrG

My scripts:AppLauncherTRAY - Awesome app launcher that runs from the system tray NEW VERSION! | Run Length Encoding - VERY simple compression in pure autoit | Simple Minesweeper Game - Fun little game :)My website

Share this post

Link to post
Share on other sites

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
Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.