Fix DnD 'deadzone'
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository@186 f5eea248-9336-0410-98b8-ebc06183d4e3
This commit is contained in:
parent
e89bbe72d4
commit
1667a3a843
|
@ -4325,7 +4325,8 @@ void Notepad_plus::dropFiles(HDROP hdrop)
|
|||
// Determinate in which view the file(s) is (are) dropped
|
||||
POINT p;
|
||||
::DragQueryPoint(hdrop, &p);
|
||||
HWND hWin = ::ChildWindowFromPoint(_hSelf, p);
|
||||
//HWND hWin = ::ChildWindowFromPoint(_hSelf, p);
|
||||
HWND hWin = ::RealChildWindowFromPoint(_hSelf, p);
|
||||
if (!hWin) return;
|
||||
|
||||
if ((_mainEditView.getHSelf() == hWin) || (_mainDocTab.getHSelf() == hWin))
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#include <windows.h>
|
||||
#include "dockingResource.h"
|
||||
|
||||
IDD_CONTAINER_DLG DIALOGEX 0, 0, 0, 0//186, 103
|
||||
IDD_CONTAINER_DLG DIALOGEX 0, 0, 186, 103
|
||||
STYLE DS_SETFONT | DS_SETFOREGROUND | WS_MAXIMIZEBOX | WS_POPUP |
|
||||
WS_CLIPCHILDREN | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME
|
||||
EXSTYLE WS_EX_TOOLWINDOW
|
||||
|
|
|
@ -216,22 +216,22 @@ IF NOT EXIST ..\bin\userDefineLang.xml COPY ..\src\userDefineLang.xml ..\bin\use
|
|||
<File
|
||||
RelativePath="..\src\ScitillaComponent\UserDefineDialog.cpp">
|
||||
</File>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="TinyXML"
|
||||
Filter="">
|
||||
<File
|
||||
RelativePath="..\src\TinyXml\tinystr.cpp">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\src\TinyXml\tinyxml.cpp">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\src\TinyXml\tinyxmlerror.cpp">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\src\TinyXml\tinyxmlparser.cpp">
|
||||
</File>
|
||||
<Filter
|
||||
Name="TinyXML"
|
||||
Filter="">
|
||||
<File
|
||||
RelativePath="..\src\TinyXml\tinystr.cpp">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\src\TinyXml\tinyxml.cpp">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\src\TinyXml\tinyxmlerror.cpp">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\src\TinyXml\tinyxmlparser.cpp">
|
||||
</File>
|
||||
</Filter>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="WinControls"
|
||||
|
@ -503,10 +503,10 @@ IF NOT EXIST ..\bin\userDefineLang.xml COPY ..\src\userDefineLang.xml ..\bin\use
|
|||
RelativePath="..\src\WinControls\Preference\preferenceDlg.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\src\WinControls\shortcut\resource.h">
|
||||
RelativePath="..\src\WinControls\Preference\resource.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\src\WinControls\Preference\resource.h">
|
||||
RelativePath="..\src\WinControls\shortcut\resource.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\src\WinControls\StaticDialog\RunDlg\RunDlg.h">
|
||||
|
|
Loading…
Reference in New Issue