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
PageTreeCtrl.h
Package: propgrid.zip [view]
Upload User: yangzi5763
Upload Date: 2007-01-02
Package Size: 239k
Code Size: 2k
Category:
ActiveX-DCOM-ATL
Development Platform:
Visual C++
- // PageTreeCtrl.h: interface for the CPageTreeCtrl class.
- //
- //////////////////////////////////////////////////////////////////////
- #if !defined(AFX_PAGETREECTRL_H__83273776_8B5A_11D2_871F_0040055C08D9__INCLUDED_)
- #define AFX_PAGETREECTRL_H__83273776_8B5A_11D2_871F_0040055C08D9__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- #include "PageListCtrl.h"
- #include "TreeListCtrl.h"
- class CPageTreeCtrl : public CPageListCtrl
- {
- public:
- virtual BOOL IsGroupData(DWORD lParam);
- virtual void OnFontChanged();
- CPageTreeCtrl(CXPropertiesWndCtrl* pControl = NULL, int nHeight = 18);
- virtual ~CPageTreeCtrl();
- virtual BOOL IsGroup() {return TRUE;};
- virtual void OnBeginDrawItem( CDC* pDC, int nItem , LPARAM itemData);
- virtual int InsertItemVrt(int nItem, LPCTSTR lpszItemName, LPARAM lParam, LPCTSTR lpszGroup = NULL);
- virtual BOOL DeleteItemVrt(int nItem);
- virtual void Expand(int nItem, BOOL &bExppanded);
- virtual void SetPropertyName(int nIndexProperty, LPCTSTR lpszPropertyName);
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CPageTreeCtrl)
- //}}AFX_VIRTUAL
- private:
- void DrawMinus(CDC* pDC, CPoint p);
- void DrawPlus(CDC* pDC, CPoint p);
- protected:
- virtual BOOL OnInit();
- virtual int OnLoad(LPCTSTR lpszName, LPCTSTR lpszAs, LPCTSTR lpszType, LPCTSTR lpszGroup);
- virtual BOOL SetDefaultValue(int nIndexProperty, LPCTSTR lpszdefaultValue);
- //{{AFX_MSG(CPageTreeCtrl)
- afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- protected:
- virtual void DeleteAll();
- virtual BOOL IsGroup(int nItem);
- virtual void UpdateAllGroup();
- CTreeListCtrl m_allItemsList;
- };
- #endif // !defined(AFX_PAGETREECTRL_H__83273776_8B5A_11D2_871F_0040055C08D9__INCLUDED_)