Message handler for about dialog.
| 1719 | |
| 1720 | // Message handler for about dialog. |
| 1721 | INT_PTR CALLBACK AppWindow::About(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam) |
| 1722 | { |
| 1723 | switch (message) |
| 1724 | { |
| 1725 | case WM_INITDIALOG: |
| 1726 | return (INT_PTR)TRUE; |
| 1727 | |
| 1728 | case WM_COMMAND: |
| 1729 | if (LOWORD(wParam) == IDOK || LOWORD(wParam) == IDCANCEL) |
| 1730 | { |
| 1731 | EndDialog(hDlg, LOWORD(wParam)); |
| 1732 | return (INT_PTR)TRUE; |
| 1733 | } |
| 1734 | break; |
| 1735 | } |
| 1736 | return (INT_PTR)FALSE; |
| 1737 | } |
| 1738 | |
| 1739 | // Decide what to do when an accelerator key is pressed. Instead of immediately performing |
| 1740 | // the action, we hand it to the caller so they can decide whether to run it right away |
nothing calls this directly
no outgoing calls
no test coverage detected