Skip to content

Commit

Permalink
Reenable sysmenu
Browse files Browse the repository at this point in the history
  • Loading branch information
MishaProductions committed Jan 6, 2024
1 parent 3504557 commit efa2d3a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion RectifyStart/RectifyStart.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ int APIENTRY wWinMain(_In_ HINSTANCE hInstance,
(UCString)L"Rectify11", NULL,
LoadIconW(hInstance, MAKEINTRESOURCE(IDI_RECTIFYSTART)),
CW_USEDEFAULT, CW_USEDEFAULT, 880, 720,
0, WS_EX_TOOLWINDOW | WS_VISIBLE, 0, &pwnd);
0, WS_EX_TOOLWINDOW | WS_VISIBLE | WS_SYSMENU, 0, &pwnd);

static HWND hwnd = pwnd->GetHWND();
// Center the window on the screen
Expand Down
4 changes: 1 addition & 3 deletions RectifyStart/resource.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@
#define IDS_CARDDESC 113
#define IDS_STARTUP 114
#define IDS_CLOSE 115
#define IDR_MAINFRAME 128
#define IDR_UIFILE1 129
#define IDR_UIFILE 130
#define IDR_UIFILE 999
#define IDB_BLANK 1000
#define IDB_CPL 1001
#define IDB_THEMESWITCH 1002
Expand Down

0 comments on commit efa2d3a

Please sign in to comment.