Okuma Fat Finger Prevent Version 1.0
© 2018 Okuma America Corporation
https://www.okuma.com/americas
https://www.myokuma.com/
Updated May 2017 

Purpose
The purpose of Fat Finger Prevent ("FFP") is to stop the unintentional moving of files and folders while using Windows® Explorer or when navigating any other file management window. This can be a problem particularly when using the touch display of Okuma machine tools. Not only does the use of the touch screen as opposed to a mouse increase the odds of an unintentional move operation, but it is possible to interfere with the normal operation of the machine tool if certain files or folders are moved. It can be difficult to determine which files were moved and to where. Often, when these unintentional moves occur, the user is not even aware that the move took place. 
Reference:  http://www.okuma.com/service-newsletter-fat-finger

Operation
FFP provides two distinct features for the prevention of accidental file or folder moves, Drag Drop Confirm ("DDC") and Drag Sensitivity Adjust ("DSA"). DDC works by detecting a file or folder move in progress using a Windows® Shell Extension Handler. When a move operation is detected, the user is presented with a dialog box that both notifies them of the operation about to take place, and provides an opportunity to cancel the operation. DSA works by modifying two obscure Windows® Operating System settings (Desktop Drag Height and Desktop Drag Width). By changing the values of these settings, the user must drag items across the screen past the number of pixels specified in the given direction before the operation becomes a move. 

Implementation
DSA functions by modifying built-in settings in the Windows® Registry. It provides an easy to use graphical interface in place of what would require either manual modification of the registry or the use of a registry modification file (*.reg file) which doesn't give the user a choice when deciding the values for desktop DragWidth and DragHeight.
As mentioned above in the Operation section, DDC uses a Windows® Shell Extension Handler; specifically, it implements a Drop Handler. The details of this implementation are beyond the scope of this document. However it must be stated that DDC is essentially a modified version of "DragDropConfirm" by Trey Miller a.k.a. "{ broken: ['e'] }".
The source code for the version of DDC used in this application is available from the following location: https://github.com/OkumaScott/DragDropConfirm/tree/XpFix
Details about this library and its usage are available from the broken-e website. http://broken-e.com/dragdropconfirm
It is based off of an example created by the Microsoft® OneCode Team available here: https://code.msdn.microsoft.com/CppShellExtDragDropHandler-bbdb6bac
This code was released under the MS-LPL license which appears at the end of this document.

OKUMA FAT FINGER PREVENT - TERMS AND CONDITIONS
●  SUPPORT

     ○  The Software is provided under an AS-IS basis and without any guarantee of support, updates or maintenance. 

     ○  Bug Notification: You may provide Okuma of details regarding any bug, defect or failure in The Software promptly and with no delay from such event; You shall comply with Okuma's request for information regarding bugs, defects or failures and furnish him with information, screenshots and try to reproduce such bugs, defects or failures.

     ○  Feature Request: You may request additional features in Software, provided, however, that 
(i) You shall waive any claim or right in such feature should feature be developed by Okuma; 
(ii) You shall be prohibited from disclosing such feature request, or feature, to any 3rd party directly competing with Okuma or any 3rd party which may be, following the development of such feature, in direct competition with Okuma; 
(iii) You warrant that feature does not infringe any 3rd party patent, trademark, trade-secret or any other intellectual property right; and 
(iv) You developed, envisioned or created the feature solely by yourself.

●  INDEMNIFICATION

     ○  You agree to indemnify, hold harmless, and defend Okuma and its employees, including Okuma's subsidiaries, affiliates, officers, agents, co-branders, or other partners, at your expense against any and all third party claims or demands, actions, proceedings, and suits and all related liabilities, damages, settlements, penalties, fines, costs, and expenses (including without limitation, reasonable attorney's fees and other dispute resolution expenses) incurred by Okuma, due to or arising out of Your violation of this agreement, Your use or misuse of The Software, any data submitted, transmitted, or communicated through The Software, or Your violation of any rights of another.

● DISCLAIMER

     ○ THE SOFTWARE IS LICENSED “AS-IS.” YOU BEAR THE RISK OF USING IT. OKUMA AMERICA CORPORATION GIVES NO EXPRESS WARRANTIES, GUARANTEES OR CONDITIONS. YOU MAY HAVE ADDITIONAL CONSUMER RIGHTS UNDER YOUR LOCAL LAWS WHICH THIS AGREEMENT CANNOT CHANGE. TO THE EXTENT PERMITTED UNDER YOUR LOCAL LAWS, OKUMA AMERICA CORPORATION EXCLUDES THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.

     ○ No advice or information, whether oral or written, obtained by User from Okuma or their Third Party service providers, shall create any warranty not expressly stated herein.

● LIMITATION OF LIABILITY

     ○  YOU UNDERSTAND AND AGREE THAT IN NO EVENT SHALL OKUMA BE LIABLE WHETHER IN CONTRACT, WARRANTY, TORT (INCLUDING NEGLIGENCE WHETHER ACTIVE, PASSIVE OR IMPUTED), PRODUCT LIABILITY OR STRICT LIABILITY, EVEN IF OKUMA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES OR IF SUCH DAMAGES ARE FORESEEABLE, FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, CONSEQUENTIAL, OR EXEMPLARY DAMAGES, INCLUDING BUT NOT LIMITED TO DAMAGES FOR LOSS OF PROFITS, GOODWILL, USE, DATA OR OTHER INTANGIBLE LOSSES, RESULTING FROM:

     ○ The use or the inability to use The Software;
     ○ The cost of procurement of substitute goods, data, information or services purchased or obtained or messages received or transactions entered into through or from the use of the software;
     ○ Unauthorized access to or alteration of your transmissions or data;
     ○ Statements or conduct of any third party using The Software; 
     ○ Any other matter relating to the use of The Software. 
     ○ In no event shall Okuma's total liability to you for all damages exceed the amount of fifty American Dollars ($50 USD).

Copyright © 2018 Okuma America Corporation
Microsoft and Windows are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries.
MICROSOFT LIMITED PUBLIC LICENSE version 1.1
This license governs use of code marked as “sample” or “example” available on this web site without a license agreement, as provided under the section above titled “NOTICE SPECIFIC TO SOFTWARE AVAILABLE ON THIS WEB SITE.” If you use such code (the “software”), you accept this license. If you do not accept the license, do not use the software.
1. Definitions
The terms “reproduce,” “reproduction,” “derivative works,” and “distribution” have the same meaning here as under U.S. copyright law.
A “contribution” is the original software, or any additions or changes to the software.
A “contributor” is any person that distributes its contribution under this license.
“Licensed patents” are a contributor’s patent claims that read directly on its contribution.

2. Grant of Rights
(A) Copyright Grant - Subject to the terms of this license, including the license conditions and limitations in section 3, each contributor grants you a non-exclusive, worldwide, royalty-free copyright license to reproduce its contribution, prepare derivative works of its contribution, and distribute its contribution or any derivative works that you create.
(B) Patent Grant - Subject to the terms of this license, including the license conditions and limitations in section 3, each contributor grants you a non-exclusive, worldwide, royalty-free license under its licensed patents to make, have made, use, sell, offer for sale, import, and/or otherwise dispose of its contribution in the software or derivative works of the contribution in the software.

3. Conditions and Limitations
(A) No Trademark License- This license does not grant you rights to use any contributors’ name, logo, or trademarks.
(B) If you bring a patent claim against any contributor over patents that you claim are infringed by the software, your patent license from such contributor to the software ends automatically.
(C) If you distribute any portion of the software, you must retain all copyright, patent, trademark, and attribution notices that are present in the software.
(D) If you distribute any portion of the software in source code form, you may do so only under this license by including a complete copy of this license with your distribution. If you distribute any portion of the software in compiled or object code form, you may only do so under a license that complies with this license.
(E) The software is licensed “as-is.” You bear the risk of using it. The contributors give no express warranties, guarantees or conditions. You may have additional consumer rights under your local laws which this license cannot change. To the extent permitted under your local laws, the contributors exclude the implied warranties of merchantability, fitness for a particular purpose and non-infringement.
(F) Platform Limitation - The licenses granted in sections 2(A) and 2(B) extend only to the software or derivative works that you create that run directly on a Microsoft Windows operating system product, Microsoft run-time technology (such as the .NET Framework or Silverlight), or Microsoft application platform (such as Microsoft Office or Microsoft Dynamics).