Golabius Posted January 8, 2012 Posted January 8, 2012 how can create a EditBox that Making it possible to Drag&Drop link(or text) from web Control into it?(IE or others.) my sample code can drag&drop filePath to editBox but i want drag&Drop link(or text) into it. My Sample Code: #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> $frm_main = GUICreate("Drag(Test)", 405, 294, -1,-1,-1,$WS_EX_ACCEPTFILES) $ed_test = GUICtrlCreateEdit("", 1, 0, 403, 293) GUICtrlSetState(-1,$GUI_DROPACCEPTED) GUISetState(@SW_SHOW) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd (sorry for my bad eng.)
Beege Posted January 8, 2012 Posted January 8, 2012 Check out _GUICtrlRichEdit_Create(). It will do what you want. Colors too Assembly Code: fasmg . fasm . BmpSearch . Au3 Syntax Highlighter . Bounce Multithreading Example . IDispatchASMUDFs: Explorer Frame . ITaskBarList . Scrolling Line Graph . Tray Icon Bar Graph . Explorer Listview . Wiimote . WinSnap . Flicker Free Labels . iTunesPrograms: Ftp Explorer . Snipster . Network Meter . Resistance Calculator
Golabius Posted January 8, 2012 Author Posted January 8, 2012 (edited) @Beege,Tnx man. Clear.but can EditBox does it like RichEdit?(Drag&Drop Link or Text) Edited January 8, 2012 by Golabius
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