DlgMain.h
上传用户:gnaf34
上传日期:2022-04-22
资源大小:1657k
文件大小:2k
- /*
- * DlgMain.h
- *
- * Header file
- *
- * Copyright (c) ITEC-Ohio, 2002.
- *
- * The contents of this file are subject to the Mozilla Public License
- * Version 1.0 (the "License"); you may not use this file except in
- * compliance with the License. You may obtain a copy of the License at
- * http://www.mozilla.org/MPL/
- *
- * Software distributed under the License is distributed on an "AS IS"
- * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
- * the License for the specific language governing rights and limitations
- * under the License.
- *
- * The Original Code is Open H323 Library available at http://www.openh323.org
- * The Initial Developer of the Original Code is Equivalence Pty. Ltd.
- *
- */
- #if !defined(AFX_DLGMAIN_H__8635E7A5_EF55_4033_88E8_0DD553A2E295__INCLUDED_)
- #define AFX_DLGMAIN_H__8635E7A5_EF55_4033_88E8_0DD553A2E295__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- /////////////////////////////////////////////////////////////////////////////
- // CDlgMain dialog
- class CDlgMain : public CDialog
- {
- // Construction
- public:
- void AppendString(CString str);
-
- CDlgMain(CWnd* pParent = NULL); // standard constructor
- // Dialog Data
- //{{AFX_DATA(CDlgMain)
- enum { IDD = IDD_DIALOG_MAIN };
- CEdit m_Console;
- //}}AFX_DATA
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CDlgMain)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- //Add color to the console edit box- black background and green text
- CBrush m_blackbrush;
- COLORREF m_blackcolor,m_textcolor;
- // Generated message map functions
- //{{AFX_MSG(CDlgMain)
- virtual BOOL OnInitDialog();
- afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
- afx_msg void OnPaint();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_DLGMAIN_H__8635E7A5_EF55_4033_88E8_0DD553A2E295__INCLUDED_)