0, /* lowest message to examine */\r
0)) /* highest message to examine */\r
{\r
- HandleMessage(msg);\r
+ HandleMessage(&msg);\r
}\r
\r
\r
0, /* highest message to examine */\r
PM_REMOVE))\r
{\r
- HandleMessage(msg);\r
+ HandleMessage(&msg);\r
}\r
}\r
\r
char promoChar;\r
\r
switch (message) {\r
+\r
case WM_INITDIALOG: /* message: initialize dialog box */\r
/* Center the dialog over the application window */\r
CenterWindow(hDlg, GetWindow(hDlg, GW_OWNER));\r
default: /* Passes it on if unprocessed */\r
return (DefWindowProc(hwnd, message, wParam, lParam));\r
}\r
+\r
return 0;\r
}\r
\r