HRESULT CNewTreeConflictEditorDlg::OnNotify(HWND hWnd, UINT uNotification, WPARAM wParam, LPARAM) { switch (uNotification) { case TDN_DIALOG_CONSTRUCTED: return OnDialogConstructed(hWnd); case TDN_BUTTON_CLICKED: return OnButtonClicked(hWnd, (int) wParam); default: return S_OK; } }
HRESULT CTextConflictEditorDlg::OnNotify(HWND hWnd, UINT uNotification, WPARAM wParam, LPARAM) { switch (uNotification) { case TDN_DIALOG_CONSTRUCTED: return OnDialogConstructed(hWnd); case TDN_BUTTON_CLICKED: return OnButtonClicked(hWnd, (int)wParam); case TDN_TIMER: return OnTimer(hWnd); case TDN_HELP: if (!CAppUtils::StartHtmlHelp(IDD_CONFLICTRESOLVE + 0x20000)) { AfxMessageBox(AFX_IDP_FAILED_TO_LAUNCH_HELP); } break; default: break; } return S_OK; }