Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
drawView.h
Package: GDIUSE.rar [view]
Upload User: jinlangri
Upload Date: 2022-07-17
Package Size: 10774k
Code Size: 2k
Category:
GDI-Bitmap
Development Platform:
Visual C++
- // drawView.h : interface of the CDrawView class
- //
- /////////////////////////////////////////////////////////////////////////////
- #if !defined(AFX_DRAWVIEW_H__CA9C4916_07B2_11D4_B0C9_5254AB167DFC__INCLUDED_)
- #define AFX_DRAWVIEW_H__CA9C4916_07B2_11D4_B0C9_5254AB167DFC__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- class CDrawView : public CScrollView
- {
- protected: // create from serialization only
- CDrawView();
- DECLARE_DYNCREATE(CDrawView)
- protected:
- CString m_ClassName;
- int m_Dragging;
- HCURSOR m_hArrow;
- HCURSOR m_hCross;
- CPen m_PenDotted;
- CPoint m_PointOld;
- CPoint m_PointOrigin;
- COLORREF m_cTextColor;
- LOGFONT m_lf;
- // Attributes
- public:
- CDrawDoc* GetDocument();
- // Operations
- public:
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CDrawView)
- public:
- virtual void OnDraw(CDC* pDC); // overridden to draw this view
- virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
- protected:
- virtual void OnInitialUpdate(); // called first time after construct
- virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
- virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
- virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
- virtual void OnUpdate(CView* pSender, LPARAM lHint, CObject* pHint);
- //}}AFX_VIRTUAL
- // Implementation
- public:
- BOOL m_IsRect;
- virtual ~CDrawView();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- protected:
- // Generated message map functions
- protected:
- //{{AFX_MSG(CDrawView)
- afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
- afx_msg void OnMouseMove(UINT nFlags, CPoint point);
- afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
- afx_msg void OnRButtonUp(UINT nFlags, CPoint point);
- afx_msg void OnDrawFont();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- #ifndef _DEBUG // debug version in drawView.cpp
- inline CDrawDoc* CDrawView::GetDocument()
- { return (CDrawDoc*)m_pDocument; }
- #endif
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_DRAWVIEW_H__CA9C4916_07B2_11D4_B0C9_5254AB167DFC__INCLUDED_)