Windows 8 x64 I can't drag&drop files from Windows Explo

Please report only one bug per message!

Moderators: white, Hacker, petermad, Stefan2

siealex
Senior Member
Senior Member
Posts: 278
Joined: 2009-03-22, 16:36 UTC

Post by *siealex »

Downgrade to WinXP and you will have no problems.
We are not so S.M.A.R.T. as we imagine...
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

siealex,
There is a much easier solution: disable UAC. But it is a bad solution.
User avatar
MarcinW
Power Member
Power Member
Posts: 852
Joined: 2012-01-23, 15:58 UTC
Location: Poland

Post by *MarcinW »

@ghisler(Author): maybe it's possible to register window as IDropTarget and _also_ with DragAcceptFiles function? Maybe this could allow to drop at least normal files for elevated TC?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48079
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

That doesn't seem to work: I called DragAcceptFiles(handle,true) for TC itself and for its file panels, but the cursor remained "forbidden" when dragging from lower to higher level instance. I can drag files from elevated to TC to non-elevated already in older versions, though.
Author of Total Commander
https://www.ghisler.com
User avatar
MarcinW
Power Member
Power Member
Posts: 852
Joined: 2012-01-23, 15:58 UTC
Location: Poland

Post by *MarcinW »

Mhmm, besides DragAcceptFiles, have you also called DragDropInit? (from www.ghisler.ch/board/viewtopic.php?t=34523)
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48079
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Yes I have.
Author of Total Commander
https://www.ghisler.com
User avatar
MarcinW
Power Member
Power Member
Posts: 852
Joined: 2012-01-23, 15:58 UTC
Location: Poland

Post by *MarcinW »

So it seems that there is definitely no way to drag objects from non-elevated Explorer to elevated TC :-/
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6482
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Post by *Horst.Epp »

MarcinW wrote:So it seems that there is definitely no way to drag objects from non-elevated Explorer to elevated TC :-/
And that is fine because it would be a security risk.
It was one of the better ideas from Microsoft to prevent this.
User avatar
MarcinW
Power Member
Power Member
Posts: 852
Joined: 2012-01-23, 15:58 UTC
Location: Poland

Post by *MarcinW »

Yes, you are right, this would be a security hole.
Post Reply