Jump to content

Drag File To APP Front Panel


Recommended Posts

The easiest way I've done this in the past is to have a transparent path control that takes up the whole front panel which is hidden.  Then you look for the value change event on that path control which will indicate a drop took place.  Here is a post with an example of this working. 

If you are looking to open a file type when double clicked in explorer, then you will need a second EXE to get called, and it can decide what to do.  Like maybe open another instance, or detect if it is already running, and open it in that.  I know this post is old but it is what I used to understand what was needed.  Since then I've started using InnoSetup installers, and you can setup file association there as part of the install process.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.