cbucher / console

This is a modified version of Console 2 for a better experience under Windows Vista/7/8/10 and a better visual rendering.
https://github.com/cbucher/console/wiki
GNU General Public License v2.0
2.93k stars 230 forks source link

get focus when dragging and dropping file #16

Closed cbucher closed 11 years ago

cbucher commented 11 years ago

When dragging and dropping a file to insert the filename in console input, console should get the focus.

cbucher commented 11 years ago

It can be done only with OLE-based drag-and-drop. With WM_DROPFILES, the application which have the focus before drag-and-drop retakes the focus after ... Drag-and-drop in elevated console can only be done with WM_DROPFILES ! So I keep the current behavior. I just fixed the behavior with splitted views: the view where files are dropped becomes the active view.