Визуальное программирование и MFC

       

NameCtl.h


#if !defined(AFX_NAMECTL_H__EC72D08A_FABF_11D1_9525_0080488929D2__INCLUDED_) #define AFX_NAMECTL_H__EC72D08A_FABF_11D1_9525_0080488929D2__INCLUDED_ #if _MSC_VER >= 1000 #pragma once #endif // _MSC_VER >= 1000   // NameCtl.h : Declaration of the CNameCtrl ActiveX Control class.   ///////////////////////////////////////////////////////////////////////////// // CNameCtrl : See NameCtl.cpp for implementation.   class CNameCtrl : public COleControl { DECLARE_DYNCREATE(CNameCtrl)   // Constructor public: CNameCtrl();   // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CNameCtrl) public: virtual void OnDraw(CDC* pdc, const CRect& rcBounds, const CRect& rcInvalid); virtual void DoPropExchange(CPropExchange* pPX); virtual void OnResetState(); //}}AFX_VIRTUAL   // Implementation protected: ~CNameCtrl();   DECLARE_OLECREATE_EX(CNameCtrl) // Class factory and guid DECLARE_OLETYPELIB(CNameCtrl) // GetTypeInfo DECLARE_PROPPAGEIDS(CNameCtrl) // Property page IDs DECLARE_OLECTLTYPE(CNameCtrl) // Type name and misc status   // Message maps //{{AFX_MSG(CNameCtrl) // NOTE - ClassWizard will add and remove member functions here. // DO NOT EDIT what you see in these blocks of generated code ! //}}AFX_MSG DECLARE_MESSAGE_MAP()   // Dispatch maps //{{AFX_DISPATCH(CNameCtrl) // NOTE - ClassWizard will add and remove member functions here. // DO NOT EDIT what you see in these blocks of generated code ! //}}AFX_DISPATCH DECLARE_DISPATCH_MAP()   afx_msg void AboutBox();   // Event maps //{{AFX_EVENT(CNameCtrl) // NOTE - ClassWizard will add and remove member functions here. // DO NOT EDIT what you see in these blocks of generated code ! //}}AFX_EVENT DECLARE_EVENT_MAP()   // Dispatch and event IDs public: enum { //{{AFX_DISP_ID(CNameCtrl) // NOTE: ClassWizard will add and remove enumeration elements here. // DO NOT EDIT what you see in these blocks of generated code ! //}}AFX_DISP_ID }; };   //{{AFX_INSERT_LOCATION}} // Microsoft Developer Studio will insert additional declarations immediately before the previous line.   #endif // !defined(AFX_NAMECTL_H__EC72D08A_FABF_11D1_9525_0080488929D2__INCLUDED)



Содержание раздела