Giter Club home page Giter Club logo

dragdropconfirm's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dragdropconfirm's Issues

Functionality not working for some users

Hi There, Not sure if anyone will still answer but I am having an issue with a couple of user profiles for which after install the prompt is not displayed. I have a handful of users for which it's working but some of them refuse to.

I have tried registering the dll manually which works fine, but i'm unsure how to troubleshoot this or if it's a bug of some sort.

Is there any registry keys impacted by the installer?

Many Thanks!

Seems it does not work on non-English Windows

I tried to install the latest DragDropConfirm on Czech version of Windows 7 Pro SP1 but nothing seems to happen. I think the problem is that the check is valid for English version only. I propose to look for some value for "Move here" that is language-agnostic and does not change in non-English versions of Windows. Or if it is such a hack that it cannot be done easily, to have a hard-coded list of these "Move here" strings in all language versions of Windows which would be a nasty way to fix it, but perhaps working in most cases.

Feature Request: Confirm Only From Defined Source Location

I was wondering if it might be possible to add a feature that would allow defining the source location.
For instance, if you did not want to have the confirmation dialog pop up when moving files on the local drive, but show the confirmation when moving a file from a mounted share.

Fails when moving Disk->Disk and Disk->Network Share

Well in fact is does not really fail, because in those moments it does not execute a 'Move here' but a 'Copy here'. Anyway, I want to catch such operations, as it happened to me that I accidentally did a D&D to a different Drive or a shared disk on an other PC in the network.

It would be great if this could be handled in a manner that allows to have unlimited 'ItemText' registry entries. Reason: It is possible to set the UI language in windows on a per user base. e.g. my users prefer to have their client in German, while I prefer to use the English UI. As 'ItemText' is stored in HKLM and not HKCU there can be only one 'ItemText' per machine right now.

I think it would be a nice feature if the D&DConfirm could be configured for all users in HKLM anyway. e.g. if 'ItemText' could support multiple strings (e.g. comma delimited) in the same REG_SZ value: '&Move here,&Copy here,Hierher &verschieben,Hierher &kopieren'. The big advantage of this would be, that one configuration per machine would be enough to configure DragDropConfirm for all current and future users.

I consider your utility a lifesaver - looked many times in the last years for such a feature. Actually no D&D in Explorer would be far better than today's standard. I spent endless hours repairing directory structures and unwanted duplicates in the last few years! As I do not code C++ I can not code this myself - I think the hassle to set up a development environment would just be prohibitive... So I hope some good soul implements a solution!

Feature Request - Button Names and Copy Confirm

Thank you broken-e! Great utility. I have two feature request/suggestions:

  1. The option to rename the OK and Cancel buttons (to, for instance 'Yes - Go Ahead' and 'No - STOP!')
  2. The option to capture drag & drop COPY actions (respond to '&Copy here') with separate 'Ask Description'. The basic code works if you change the ItemText registry setting to '&Copy here' so just need to enable multiple ItemText triggers and corresponding AskDescription entries.

Thanks for considering.
Arbar1

Confirmation window does not appear on top of other windows

I like what this little tool does, but most of the time the confirmation pops up behind other open windows. This makes it a few more clicks to use and select the window and click ok. it also makes it confusing when you first start using this tool and are not thinking about it and wonder why that file you just dragged isn't moving.

Is there a way to always make the confirmation window pop up on top of all other windows?

Thanks

Show source items in confirm-dialog + dialogs per items

Hint: This issue does partly comply with the contributions from @bduffek

The dialog description does not show which source file(s) or folder(s) will be moved or copied.
Only the destination folder is shown when moving/copying files and/or folders.

I want to suggest (an option) to show the !source! file(s) or folder(s) in the dialog description, too.

It could look like this:

Are you sure you want to move the following items..

..source.file
..source\folder

..to the following destination folder?

..destination\folder

Another idea is this:
Showing all files and folders to move/copy within one dialog can be inconvenient, because the items can be many.
Instead of showing all folders or files to move within one dialog, a known method to show one dialog per folder or file after each other is what Windows Explorer does already when overwriting multiple files.
Including a few choices like (see screenshots underneath):

  • Perform operation for all current items (3 found)
  • Repeat for all current items

(Dialog text translated from different language)
item-not-found-dialog
item-not-found-dialog-option1
item-not-found-dialog-option2

By the way, the pictured dialogs above show up on my Win7 system everytime upon moving folders or zip-files. The "Repeat" choice is equal to confirm the move-operation. The Dialog shows up since erroneous registry editing in the past. I couldn't figure out what exactly changed so that this dialog appears since. But I'm happy with this :D Because I can't figure out the reason, I was searching something like DragDropConfirm for future Win-Installs :)

Fails to register on Windows XP

Preface: Obviously support for XP has ended. Unfortunately I have many customers using it who won't be able to upgrade any time soon.

The installer silently fails on Windows XP, so it doesn't work.

Profiling regsvr32.exe in dependency walker while attempting to register the library yields the following: "LoadLibraryExW("C:\DragDropConfirm\DragDropConfirm_32.dll", 0x00000000, LOAD_WITH_ALTERED_SEARCH_PATH) returned NULL. Error: The specified procedure could not be found (127).

Looking at DragDropConfirm_32.dll in Dependency Walker:
Error: At least one module has an unresolved import due to a missing export function in an implicitly dependent module. DW is highlighting ADVAPI32.dll and inside there, "RegDeleteTreeW in red.
There other 5 registry functions in the same space that show up green...

The reason is clear now: RegDeleteTree function
Minimum supported client Windows Vista [desktop apps only]

The use of RegDeleteTree in the UnregisterInprocServer() method should be replaced by SHDeleteKey.

Windows 10, focus

Hy, I'm trying to use DragDropConfirm on Windows 10. But I stumbled with following issue:

  • move a folder to the desktop is working
  • the confirm box is behind the folder windows and it is hidden.
    Does soemone know a solution for it?

Windows 10 support in the future?

Hello broken-e,

Thank you for this great tool, helped me tremendously in the past. As more and more people upgrading to windows 10, would you consider support the new OS in the future?

Appreciate your time!

No effects on Win 8.1 Italian x64

Hi,

this tool was exactly what I was looking for but I just installed it on my PC and it seems not to do anything at all.
After a reboot I can move files and folders as before without any popup message.
Is there anything to make it works?
Thanks

Differentiating between drags and other interactions

Because of the way it works (by inspecting an invisible menu for a default option), it also catches other sources than just dragging. For example Ctrl+X then Ctrl+V will trigger it.

I do not personally know of a way to tell the difference.

I closed the previous issue because it contained another request that was implemented: #4

Differentiating between non-primary (usually right) click drag, keyboard shortcuts such as ctrl+v, and primary (usually left) click drag.

This is similar to some of the other questions but they are all related.

Is there a way to make this only fire on primary mouse button drags? Unfortunately it currently activates on Ctrl + V as well as popping up when right click dragging before any action was chosen.

I've found the "Move here" position actually is different on Ctrl+V but I'd imagine that's a totally unreliable way to test things since I'd guess other extensions can move things around and the position may vary by Windows version/locale? That would also be a useless test if copy warnings are implemented even if it were the same, since at least in the version of Windows I'm using right now the copy menu position is the same in both instances.

I am entirely new to this so I'm learning everything as I go, but after a few hours I've accepted I'm not going to be able to find this easily. The two scenarios that would be ideal to skip: Ctrl +V and non-primary drag, are totally different scenarios too.

I think I've learned enough to implement optional "copy" checks, as well as displaying the target directory in the dialog box, but this particular problem totally eludes me.

Feature: Disable with CTRL-/X & Default button

Hi there, I'd like to request some simple improvements - the ability to disable the window when the copy / move is executed via keyboard rather than drag and drop, and being able to choose the default button as OK instead of Cancel. I am not familiar with the implementation flexibility, are those changes feasible?

Mapped network drives

The application works perfectly on local drives. As soon as I try to move or copy a file on a mapped network drive, I don't receive the prompt. I've tried it on Windows 7 as well as 8.1 with the same results.

Feature Request: Delete Confirmation

I know there is a delete confirmation dialog already in Windows. But the standard choice is "yes" (delete the item(s)) - this is bad.
My suggestion is to add a delete confirmation dialog too. Show files and folders in the description dialog.

Another suggestion is to manipulate the existing delete confirmation to be able to define "no" as standard choice.

I would rather use a new delete dialog than the standard one. The standard dialog can be disabled in "recycle bin"-properties. So one can decide which delete dialog fits more to use.

Noob here - can anyone change the title of message box or tell me how to?

I can see the 'Hold up there...' text in the FileDragDropExt.cpp file. I'd like to change that to a more Windows / office setting phrase , maybe just 'Move confirmation' or similar.

I can copy that file to my machine and edit that file, but don't know what to do after that : )

From what little I know of software development, that file (and others?) need to be compiled? I downloaded a couple different things - visual studio, et al. But didn't really know what to do after that. And started wondering if it has to be compiled with other files?

Any advice or if it's stupidly easy to edit / do what's needed to get the installer to use the 'Move Confirmation' version, I'd appreciate it : )

Didn't work with norwegian Windows 10 - Update: Fix included (registry file)

Tried to install this on norwegian Windows 10 today and got some trouble.
Didn't get the "ShowDefaultText=1" to work, but found the norwegian text by try and fail.
Here is registry entry for nowegian Windows 10:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\DragDropConfirm]
"Install_Dir"="C:\Program Files\DragDropConfirm"
"AskTitle"="Advarsel - Bekreft flytting av filer"
"AskDescription"="Vil du virkelig flytte filene til"
"ItemText"="&Flytt hit"
"ShowDefaultText"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\DragDropConfirm]
"Install_Dir"="C:\Program Files\DragDropConfirm"
"AskTitle"="Advarsel - Bekreft flytting av filer"
"AskDescription"="Vil du virkelig flytte filene til"
"ItemText"="&Flytt hit"
"ShowDefaultText"=dword:00000000

Global settings with per user language

In MUI systems like Windows 7 Utlimate the UI language is a per user setting, but this software takes sample strings from HKLM.

May be it is better to collect all the catch strings in all languages in an internal const array, with an additional ability to define "ItemText" in registry (or even more texts)?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.