| 671 | } |
| 672 | |
| 673 | LRESULT CSaveModifiedItemsDialog::OnInitDialog(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/) |
| 674 | { |
| 675 | CenterWindow(GetParent()); |
| 676 | |
| 677 | this->InitializeControls(); |
| 678 | this->InitializeValues(); |
| 679 | |
| 680 | // NOTE: We need to do this init after InitializeValues, in |
| 681 | // case the default size of any control changes |
| 682 | this->DlgResize_Init(true, true, WS_THICKFRAME | WS_CLIPCHILDREN); |
| 683 | |
| 684 | return 1; // Let the dialog manager set initial focus |
| 685 | } |
| 686 | |
| 687 | LRESULT CSaveModifiedItemsDialog::OnDestroy(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& bHandled) |
| 688 | { |
nothing calls this directly
no test coverage detected