CEditWnd::CEditWnd() { AFX_ZERO_INIT_OBJECT (CTextWnd); m_mapExpand = new CMap<CString, LPCTSTR, CString, LPCTSTR> (10); m_bAutoIndent = TRUE; m_bReplaceTabs = FALSE; }
CDialog::CDialog(UINT nIDTemplate, CWnd* pParentWnd) { AFX_ZERO_INIT_OBJECT(CWnd); m_pParentWnd = pParentWnd; m_lpszTemplateName = MAKEINTRESOURCE(nIDTemplate); m_nIDHelp = nIDTemplate; }
// Modal Constructors just save parameters CDialog::CDialog(LPCTSTR lpszTemplateName, CWnd* pParentWnd) { ASSERT(HIWORD(lpszTemplateName) == 0 || AfxIsValidString(lpszTemplateName)); AFX_ZERO_INIT_OBJECT(CWnd); m_pParentWnd = pParentWnd; m_lpszTemplateName = lpszTemplateName; if (HIWORD(m_lpszTemplateName) == 0) m_nIDHelp = LOWORD((DWORD)m_lpszTemplateName); }
CDialog::CDialog() { ASSERT(m_hWnd == NULL); AFX_ZERO_INIT_OBJECT(CWnd); }
CRorEditView::CRorEditView() { AFX_ZERO_INIT_OBJECT(CRorTextView); }
CCrystalEditView::CCrystalEditView() { AFX_ZERO_INIT_OBJECT(CCrystalTextView); m_bAutoIndent = FALSE; }