Jump to content

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
Link to comment
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

Link to comment
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

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...