[COM] Help with the IDropSource and IDropTarget interfaces

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
User avatar
jeeswg
Posts: 6902
Joined: 19 Dec 2016, 01:58
Location: UK

Re: [COM] Help with the IDropSource and IDropTarget interfaces

30 Sep 2018, 17:04

@malcev: I have a working example here. Cheers.
drag-and-drop programmatically by using OleDropTargetInterface - AutoHotkey Community
https://autohotkey.com/boards/viewtopic.php?f=6&t=56720
homepage | tutorials | wish list | fun threads | donate
WARNING: copy your posts/messages before hitting Submit as you may lose them due to CAPTCHA
Flowgun
Posts: 75
Joined: 25 Aug 2022, 09:42

Re: [COM] Help with the IDropSource and IDropTarget interfaces

05 May 2023, 02:21

is there a way to make the drop and drag work from apps with lower elevation to a script run as admin?
Changing the UAC filter with these has an effect on the regular GUIDropFiles, but not on drag and dropping that is registered with this class :crazy:

Code: Select all

DllCall("ChangeWindowMessageFilter", "uint", 0x233, "uint", 1) ; WM_DROPFILES 
DllCall("ChangeWindowMessageFilter", "uint", 0x4A, "uint", 1) ; WM_COPYDATA
DllCall("ChangeWindowMessageFilter", "uint", 0x49, "uint", 1) ; WM_COPYGLOBALDATA

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Aqualest, Google [Bot] and 347 guests