Jump to content

need CTRL+A / select all on readonly edit


Recommended Posts

Hi

Using GUICtrlCreateEdit in a common autoit program with GUI :

$textResult is an edit box, which is only filled with GUICtrlSetData

 

- creating edit box with this parameters : CTRL + A is ok, but edit box is not read only.

$textResult = GUICtrlCreateEdit("", 168, 120, 313, 401,BitOR($WS_VSCROLL, $WS_HSCROLL))

- creating edit box with this parameters : edit box is read only, but CTRL + A is no more working : you must select lines with mouse before using CTRL+C

$textResult = GUICtrlCreateEdit("", 168, 120, 313, 401,BitOR($WS_VSCROLL, $WS_HSCROLL,$ES_READONLY))


 

currently using solution described here at end of topic : https://www.autoitscript.fr/forum/viewtopic.php?t=6581

but I want to know if there is a more convenient way

 

 

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
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...