| 140 | } |
| 141 | |
| 142 | void CAPIExampleDlg::OnSysCommand(UINT nID, LPARAM lParam) |
| 143 | { |
| 144 | if ((nID & 0xFFF0) == IDM_ABOUTBOX) |
| 145 | { |
| 146 | CAboutDlg dlgAbout; |
| 147 | dlgAbout.DoModal(); |
| 148 | } |
| 149 | else |
| 150 | { |
| 151 | CDialogEx::OnSysCommand(nID, lParam); |
| 152 | } |
| 153 | } |
| 154 | |
| 155 | // If you add a minimize button to your dialog, you will need the code below |
| 156 | // to draw the icon. For MFC applications using the document/view model, |
nothing calls this directly
no outgoing calls
no test coverage detected