ModeDialog2.cpp
上传用户:z_mail1980
上传日期:2007-06-01
资源大小:647k
文件大小:1k
源码类别:

SNMP编程

开发平台:

Visual C++

  1. // ModeDialog2.cpp : implementation file
  2. //
  3. #include "stdafx.h"
  4. #include "practise2.h"
  5. #include "ModeDialog2.h"
  6. #ifdef _DEBUG
  7. #define new DEBUG_NEW
  8. #undef THIS_FILE
  9. static char THIS_FILE[] = __FILE__;
  10. #endif
  11. /////////////////////////////////////////////////////////////////////////////
  12. // CModeDialog2
  13. IMPLEMENT_DYNAMIC(CModeDialog2, CColorDialog)
  14. CModeDialog2::CModeDialog2(COLORREF clrInit, DWORD dwFlags, CWnd* pParentWnd) :
  15. CColorDialog(clrInit, dwFlags, pParentWnd)
  16. {
  17. }
  18. BEGIN_MESSAGE_MAP(CModeDialog2, CColorDialog)
  19. //{{AFX_MSG_MAP(CModeDialog2)
  20. //}}AFX_MSG_MAP
  21. END_MESSAGE_MAP()
  22. BOOL CModeDialog2::OnInitDialog() 
  23. {
  24. CColorDialog::OnInitDialog();
  25. // TODO: Add extra initialization here
  26. //CWnd *p=GetDlgItem(IDC_OUTPUT_TEXT);
  27. //p->SetWindowText("dslafklkvzx;'l;asf");
  28. return TRUE;  // return TRUE unless you set the focus to a control
  29.               // EXCEPTION: OCX Property Pages should return FALSE
  30. }