!define SC_CLOSE 0xF060 ;禁止右上角的X按钮 ${GetSystemMenu} $0 $HWNDPARENT System::Call "user32::EnableMenuItem(i, i, i) i (r0, ${SC_CLOSE}, ${MF_DISABLED})
!define SC_CLOSE 0xF060 ;禁止右上角的X按钮 ${GetSystemMenu} $0 $HWNDPARENT System::Call "user32::EnableMenuItem(i, i, i) i (r0, ${SC_CLOSE}, ${MF_DISABLED})
转载请注明:永恒心锁-分享互联网 » NSIS 屏蔽关闭按键