home *** CD-ROM | disk | FTP | other *** search
/ Mastering Visual Basic 6 / mastvb6.iso / leadtools / ocx32.lt / Scrchild.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  1998-06-30  |  1.4 KB  |  65 lines

  1. // ScrChild.cpp : implementation of the CScrChild class
  2. //
  3.  
  4. #include "stdafx.h"
  5. #include "ScrDemo.h"
  6. #include "ScrChild.h"
  7.  
  8. #ifdef _DEBUG
  9. #define new DEBUG_NEW
  10. #undef THIS_FILE
  11. static char THIS_FILE[] = __FILE__;
  12. #endif
  13.  
  14. /////////////////////////////////////////////////////////////////////////////
  15. // CScrChild
  16.  
  17. IMPLEMENT_DYNCREATE(CScrChild, CMDIChildWnd)
  18.  
  19. BEGIN_MESSAGE_MAP(CScrChild, CMDIChildWnd)
  20.     //{{AFX_MSG_MAP(CScrChild)
  21.         // NOTE - the ClassWizard will add and remove mapping macros here.
  22.         //    DO NOT EDIT what you see in these blocks of generated code !
  23.     //}}AFX_MSG_MAP
  24. END_MESSAGE_MAP()
  25.  
  26. /////////////////////////////////////////////////////////////////////////////
  27. // CScrChild construction/destruction
  28.  
  29. CScrChild::CScrChild()
  30. {
  31.     // TODO: add member initialization code here
  32.     int   m_Mode = 0;
  33. }
  34.  
  35. CScrChild::~CScrChild()
  36. {
  37. }
  38.  
  39. BOOL CScrChild::PreCreateWindow(CREATESTRUCT& cs)
  40. {
  41.     // TODO: Modify the Window class or styles here by modifying
  42.     //  the CREATESTRUCT cs
  43.  
  44.     return CMDIChildWnd::PreCreateWindow(cs);
  45. }
  46.  
  47. /////////////////////////////////////////////////////////////////////////////
  48. // CScrChild diagnostics
  49.  
  50. #ifdef _DEBUG
  51. void CScrChild::AssertValid() const
  52. {
  53.     CMDIChildWnd::AssertValid();
  54. }
  55.  
  56. void CScrChild::Dump(CDumpContext& dc) const
  57. {
  58.     CMDIChildWnd::Dump(dc);
  59. }
  60.  
  61. #endif //_DEBUG
  62.  
  63. /////////////////////////////////////////////////////////////////////////////
  64. // CScrChild message handlers
  65.