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
MyTreeDlgBar.h
Package: modelmagic3d.zip [view]
Upload User: cding2008
Upload Date: 2007-01-03
Package Size: 1812k
Code Size: 2k
Category:
OpenGL program
Development Platform:
Visual C++
- /////////////////////////////////////////////////////////////////////////////
- // CMyTreeDlgBar.h : header file; interface of the CMyDoc class
- //
- // ModelMagic 3D and 'glOOP' (OpenGL Object Oriented Programming library)
- // Copyright (c) Craig Fahrnbach 1997, 1999
- //
- // OpenGL is a registered trademark of Silicon Graphics
- //
- //
- // This program is provided for educational and personal use only and
- // is provided without guarantee or warrantee expressed or implied.
- //
- // Commercial use is strickly prohibited without written permission
- // from ImageWare Development.
- //
- /////////////////////////////////////////////////////////////////////////////
- /////////////////////////////////////////////////////////////////////////////
- // CMyTreeDlgBar dialog
- class CMyTreeDlgBar : public CDialogBar
- {
- // Construction
- public:
- BOOL Create( CWnd* pParentWnd, UINT nStyle, UINT nID, BOOL bChange = TRUE);
- // Operations
- public:
- void DisplayTree(C3dWorld* pWorld);
- void ClearTree();
- void InsertObject(C3dObject* pObject);
- HTREEITEM FindObject(C3dObject* pObject);
- void SelectItem(HTREEITEM hItem);
- void DisplaySelected(C3dObject* pObject);
- // Dialog Data
- //{{AFX_DATA(CMyTreeDlgBar)
- enum { IDD = IDD_DIALOG_TREE };
- //}}AFX_DATA
- // Attributes
- public:
- CMyTreeCtrl m_TreeCtrl;
- CSize m_sizeDocked;
- CSize m_sizeFloating;
- BOOL m_bChangeDockedSize; // Indicates whether to keep
- // a default size for docking
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CMyTreeDlgBar)
- //}}AFX_VIRTUAL
- virtual CSize CalcDynamicLayout( int nLength, DWORD dwMode );
- // Implementation
- private:
- // Generated message map functions
- protected:
- //{{AFX_MSG(CMyTreeDlgBar)
- afx_msg void OnSize(UINT nType, int cx, int cy);
- afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
- afx_msg void OnDestroy();
- afx_msg void OnPaint();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- // User defined messages
- };