#拦截鼠标左键点击拖动界面
!include nsDialogs.nsh
Page custom nsDialogsPage
Name "Setlink"
OutFile "Setlink.exe"
XPStyle on
Function OnTimer
System::Call user32::GetKeyState(i1)i.r4
${If} $4 < 0
SendMessage $HWNDPARENT ${WM_SYSCOMMAND} 0xF011 0
${EndIf}
FunctionEnd
Function nsDialogsPage
nsDialogs::Create 1018
Pop $0
${NSD_CreateTimer} OnTimer 10
nsDialogs::Show
FunctionEnd
Section
SectionEnd
THE END
暂无评论内容