| 205 | } |
| 206 | |
| 207 | void DialogSettings::SaveDialogPosition(HWND hDlg) |
| 208 | { |
| 209 | RECT rc; |
| 210 | GetWindowRect(hDlg, &rc); |
| 211 | m_ptDialog.x = rc.left; |
| 212 | m_ptDialog.y = rc.top; |
| 213 | m_iWidth = GetRectWidth(&rc); |
| 214 | m_iHeight = GetRectHeight(&rc); |
| 215 | } |
| 216 | |
| 217 | void DialogSettings::RestoreDialogPosition(HWND hDlg, bool bRestoreSize) |
| 218 | { |
no test coverage detected