Take the window menu bar into account when drawing drag and drop frame.
[GB.GUI.BASE] * BUG: Take the window menu bar into account when drawing drag and drop frame.
This commit is contained in:
parent
b6900124a0
commit
445784e820
1 changed files with 2 additions and 2 deletions
|
@ -172,8 +172,8 @@ Static Public Sub _ShowDNDFrame(hCtrl As Control, X As Integer, Y As Integer, W
|
|||
$iFrameX = X
|
||||
$iFrameY = Y
|
||||
|
||||
X += hCtrl.ScreenX - hCtrl.Window.ScreenX
|
||||
Y += hCtrl.ScreenY - hCtrl.Window.ScreenY
|
||||
X += hCtrl.ScreenX - hCtrl.Window.ScreenX - hCtrl.Window.ClientX
|
||||
Y += hCtrl.ScreenY - hCtrl.Window.ScreenY - hCtrl.Window.ClientY
|
||||
|
||||
'X -= 2
|
||||
'Y -= 2
|
||||
|
|
Loading…
Reference in a new issue