Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Can I set a control with ‘GUICtrlSetState(-1, $GUI_DROPACCEPTED)’ to where you can only drop the item in said control?

$
0
0
Can I set a control with GUICtrlSetState ( -1, $GUI_DROPACCEPTED )  to where you can only drop the item in said control?

[Example Code: Begin]

$editInput = GUICtrlCreateEdit("", 16, 24, 289, 81, BitOR ( $ES_AUTOVSCROLL,$ES_WANTRETURN)) ;this will be the only control you can drop in, all other controls and the main GUI, will display the ‘access denied cursor.’
GUICtrlSetState(-1, $GUI_DROPACCEPTED)

[Example Code: End]

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>