Jump to content
Sign in to follow this  

Drag&Drop Text or Link To EditBox.

Recommended Posts

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)

While 1
$nMsg = GUIGetMsg()
Switch $nMsg

(sorry for my bad eng.)

Share this post

Link to post
Share on other sites

Check out _GUICtrlRichEdit_Create(). It will do what you want. Colors too :)

Share this post

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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...