2019_windows_copy's People
2019_windows_copy's Issues
MultiSelectModel vs MultipleInvokePromptMinimum
I stumbled on your project while looking for something else and I thought I should take a minute to point out that changing MultipleInvokePromptMinimum to a different value will impact every context menu that has not declared a MultiSelectModel in it's verb, along with all the ones that declared "MultiSelectModel"="Document" in their verb.
The solution you are looking for, that only affects your own context menu, is a registry entry named MultiSelectModel. It has 3 possible values, "Single", "Document" or "Player".
"MultiSelectModel"="Document" is default, and once the number of items selected is greater than the value in set in MultipleInvokePromptMinimum (usually 15), the menu is not shown.
If you want your context menu to be shown when the number of items selected items is greater than the value set in MultipleInvokePromptMinimum, all you need to do is to set "MultiSelectModel"="Player" on your verb.
[HKEY_CLASSES_ROOT\YourProgId\shell\YourVerb]
@="My Verb Text"
"MultiSelectModel"="Player"
[HKEY_CLASSES_ROOT\YourProgId\shell\YourVerb\command]
@="YourApp.exe"
ref: https://docs.microsoft.com/en-us/windows/desktop/shell/how-to-employ-the-verb-selection-model
Cannot copy files directly from the Desktop
In the CopyApp, function
SHDocVw.ShellWindows()
only returns open Explorer windows, but not the Desktop.
In user32.dll there is a function GetDesktopWindow() which returns handle to the desktop. Unfortunately we couldn't get "IShellFolderViewDual2" or "InternetExploer" object from the handle.
Extensive search for solution in last two months yielded no results.
This issue can be "mitigated" by user by opening the Desktop as a Explorer window.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.