home *** CD-ROM | disk | FTP | other *** search
- // groupvw.cpp : implementation file
- //
-
- #include "stdafx.h"
- #include "group.h"
- #include "groupvw.h"
-
- #ifdef _DEBUG
- #undef THIS_FILE
- static char BASED_CODE THIS_FILE[] = __FILE__;
- #endif
-
- /////////////////////////////////////////////////////////////////////////////
- // CGroupView
-
- IMPLEMENT_DYNCREATE(CGroupView, CFormView)
-
- CGroupView::CGroupView()
- : CFormView(CGroupView::IDD)
- {
- //{{AFX_DATA_INIT(CGroupView)
- m_grp2 = NULL;
- m_grp1 = NULL;
- //}}AFX_DATA_INIT
- }
-
- CGroupView::~CGroupView()
- {
- }
-
- void CGroupView::DoDataExchange(CDataExchange* pDX)
- {
- CFormView::DoDataExchange(pDX);
- //{{AFX_DATA_MAP(CGroupView)
- DDX_VBControl(pDX, IDC_GROUPPUSH3D2, m_grp2);
- DDX_VBControl(pDX, IDC_GROUPPUSH3D1, m_grp1);
- //}}AFX_DATA_MAP
- }
-
-
- BEGIN_MESSAGE_MAP(CGroupView, CFormView)
- //{{AFX_MSG_MAP(CGroupView)
- // NOTE - the ClassWizard will add and remove mapping macros here.
- //}}AFX_MSG_MAP
- END_MESSAGE_MAP()
-
-
- /////////////////////////////////////////////////////////////////////////////
- // CGroupView message handlers
-
- //////////////////////
- // MY CODE STARTS HERE
- //////////////////////
-
- void CGroupView::OnInitialUpdate()
- {
-
- // Call the base class function.
- CFormView::OnInitialUpdate();
-
- // Set the MousePointer property of the
- // left button to 2-Cross
- m_grp1->SetNumProperty("MousePointer", 2);
-
- }
-
- ////////////////////
- // MY CODE ENDS HERE
- ////////////////////
-