StartupDlg.cpp 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. // StartupDlg.cpp : implementation file
  2. //
  3. #include "stdafx.h"
  4. #include "resource.h"
  5. #include "StartupDlg.h"
  6. #include ".\startupdlg.h"
  7. #ifdef _DEBUG
  8. #define new DEBUG_NEW
  9. #undef THIS_FILE
  10. static char THIS_FILE[] = __FILE__;
  11. #endif
  12. /////////////////////////////////////////////////////////////////////////////
  13. // CStartupDlg dialog
  14. CStartupDlg::CStartupDlg(CWnd* pParent /*=NULL*/)
  15. : CDialog(CStartupDlg::IDD, pParent)
  16. {
  17. //{{AFX_DATA_INIT(CStartupDlg)
  18. // NOTE: the ClassWizard will add member initialization here
  19. //}}AFX_DATA_INIT
  20. }
  21. void CStartupDlg::DoDataExchange(CDataExchange* pDX)
  22. {
  23. CDialog::DoDataExchange(pDX);
  24. //{{AFX_DATA_MAP(CStartupDlg)
  25. // NOTE: the ClassWizard will add DDX and DDV calls here
  26. //}}AFX_DATA_MAP
  27. }
  28. BEGIN_MESSAGE_MAP(CStartupDlg, CDialog)
  29. //{{AFX_MSG_MAP(CStartupDlg)
  30. //}}AFX_MSG_MAP
  31. END_MESSAGE_MAP()
  32. /////////////////////////////////////////////////////////////////////////////
  33. // CStartupDlg message handlers
  34. BOOL CStartupDlg::OnInitDialog()
  35. {
  36. CDialog::OnInitDialog();
  37. // TODO: 在此添加额外的初始化
  38. ModifyStyleEx(WS_EX_APPWINDOW,WS_EX_TOOLWINDOW,SWP_FRAMECHANGED);
  39. return TRUE; // return TRUE unless you set the focus to a control
  40. // 异常: OCX 属性页应返回 FALSE
  41. }