CalFrame.cpp
上传用户:kelijie
上传日期:2007-01-01
资源大小:123k
文件大小:1k
源码类别:

图形图象

开发平台:

Visual C++

  1. // CalFrame.cpp : implementation file
  2. //
  3. #include "stdafx.h"
  4. #include "ebdlib2.h"
  5. #include "CalFrame.h"
  6. #ifdef _DEBUG
  7. #define new DEBUG_NEW
  8. #undef THIS_FILE
  9. static char THIS_FILE[] = __FILE__;
  10. #endif
  11. /////////////////////////////////////////////////////////////////////////////
  12. // CCalculatorFrame
  13. IMPLEMENT_DYNCREATE(CCalculatorFrame, CFrameWnd)
  14. CCalculatorFrame::CCalculatorFrame()
  15.      :CChildFrame()
  16. {
  17. }
  18. CCalculatorFrame::~CCalculatorFrame()
  19. {
  20. }
  21. BEGIN_MESSAGE_MAP(CCalculatorFrame, CFrameWnd)
  22. //{{AFX_MSG_MAP(CCalculatorFrame)
  23. //}}AFX_MSG_MAP
  24. END_MESSAGE_MAP()
  25. /////////////////////////////////////////////////////////////////////////////
  26. // CCalculatorFrame message handlers
  27. BOOL CCalculatorFrame::PreCreateWindow(CREATESTRUCT& cs) 
  28. {
  29. // TODO: Add your specialized code here and/or call the base class
  30.     cs.cy = 350;   
  31. cs.cx = 550;
  32. cs.style = WS_OVERLAPPED | WS_CAPTION | FWS_ADDTOTITLE
  33. | WS_THICKFRAME | WS_SYSMENU | WS_MINIMIZEBOX | WS_TABSTOP;
  34. return CFrameWnd::PreCreateWindow(cs);
  35. }