Xavier Posted February 15, 2006 Share Posted February 15, 2006 Hi all, I use to create label controls but i realize i cannot select & copy (to clip) its text. I could find any corresponding styles. Is it possible to do it? my workaround is currently the following: create a input control with $ES_READONLY styles instead of creating a label. Actually, it works but the GUI is not as nice as a label. Thx a lot Link to comment Share on other sites More sharing options...
Amen Posted February 15, 2006 Share Posted February 15, 2006 (edited) Hi try this Style $input1=GUICtrlCreateInput("ok copy me!",0,40,-1,-1,$ES_READONLY,$WS_EX_TOOLWINDOW ) Or $input1=GUICtrlCreateEdit("ok copy me!",0,40,-1,-1,$ES_READONLY,$WS_EX_TOOLWINDOW ) Edited February 15, 2006 by Amen Kyan 1 Plugged ThoughtsQBsick? check my Old staff (New Launchers to Work with Windows.Thnx to Autoit!)Game Development ToolsPortes (A Backgammon game)Ball (An Arkanoid Style game)Au3? SecretProgz - Reveals Commands that can be used on your system CleanOut - Uninstall leftovers Enable windows XP Autologon. Stop Windows Auto Sharing your hard drives (C$,D$,etc) D-Link - Create a dynamic link.Useful for server shortcuts Fun - How would your name sounds in Japanese,Russian or Reventian? Fix_srt - Shift a subtitle (.srt) some secs +/- Link to comment Share on other sites More sharing options...
Xavier Posted February 16, 2006 Author Share Posted February 16, 2006 Hi try this Style$input1=GUICtrlCreateInput("ok copy me!",0,40,-1,-1,$ES_READONLY,$WS_EX_TOOLWINDOW )Or $input1=GUICtrlCreateEdit("ok copy me!",0,40,-1,-1,$ES_READONLY,$WS_EX_TOOLWINDOW )Well, thanks a lot Amen, that is what i needed. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now