Răsfoiți Sursa

Merge pull request #4 from wuliaodexiaoluo/wuliaodexiaoluo-patch-2

Update FormMain.xaml.vb
wuliaodexiaoluo 2 ani în urmă
părinte
comite
4beef0fb5d
1 a modificat fișierele cu 2 adăugiri și 0 ștergeri
  1. 2 0
      Plain Craft Launcher 2/FormMain.xaml.vb

+ 2 - 0
Plain Craft Launcher 2/FormMain.xaml.vb

@@ -400,6 +400,8 @@ Public Class FormMain
         '    ChangeWindowMessageFilter(&H4A, 1)
         '    ChangeWindowMessageFilter(&H49, 1)
         'End If
+         ChangeWindowMessageFilterEx(hwndDlg, WM_DROPFILES, MSGFLT_ALLOW, NULL);
+         ChangeWindowMessageFilterEx(hwndDlg, 0x0049, MSGFLT_ALLOW, NULL);                                                         
         '切换到首页
         If Not IsNothing(FrmLaunchLeft.Parent) Then FrmLaunchLeft.SetValue(ContentPresenter.ContentProperty, Nothing)
         If Not IsNothing(FrmLaunchRight.Parent) Then FrmLaunchRight.SetValue(ContentPresenter.ContentProperty, Nothing)