shutdown dialog stuff

This commit is contained in:
freedom7341
2023-09-27 13:37:42 -06:00
parent 49d22b8a13
commit b2413ad307
5 changed files with 2 additions and 1 deletions

View File

@@ -14,3 +14,4 @@
/* Function Prototypes */
BOOL CALLBACK NewGroupDlgProc(HWND hWndDlg, UINT message, WPARAM wParam, LPARAM lParam);
BOOL CALLBACK NewItemDlgProc(HWND hWndDlg, UINT message, WPARAM wParam, LPARAM lParam);
BOOL CALLBACK ShutdownDlgProc(HWND hWndDlg, UINT message, WPARAM wParam, LPARAM lParam);

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -95,7 +95,7 @@ LRESULT CALLBACK CmdProc(HWND hWnd, WPARAM wParam, LPARAM lParam)
{
case IDM_SHUTDOWN:
ExitWindowsDialog(hWnd);
DialogBox(hAppInstance, MAKEINTRESOURCE(DLG_POWER), hWnd, (DLGPROC)ShutdownDlgProc);
break;
case IDM_FILE_NEW_GROUP: