- 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
TOOLBAR2.H
Package: MSDN_VC98.zip [view]
Upload User: bangxh
Upload Date: 2007-01-31
Package Size: 42235k
Code Size: 3k
Category:
Windows Develop
Development Platform:
Visual C++
- // Toolbar2.h : header file
- //
- // This is a part of the Microsoft Foundation Classes C++ library.
- // Copyright (C) 1992-1998 Microsoft Corporation
- // All rights reserved.
- //
- // This source code is only intended as a supplement to the
- // Microsoft Foundation Classes Reference and related
- // electronic documentation provided with the library.
- // See these sources for detailed information regarding the
- // Microsoft Foundation Classes product.
- /////////////////////////////////////////////////////////////////////////////
- // CPaletteBar window
- #ifndef INC_TOOLBAR2_H
- #define INC_TOOLBAR2_H
- class CPaletteBar : public CToolBarCtrl
- {
- private:
- int m_nButtonCount;
- TBBUTTON *m_pTBButtons;
- // Construction
- public:
- CPaletteBar();
- // Attributes
- public:
- // Operations
- public:
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CPaletteBar)
- public:
- virtual BOOL OnChildNotify(UINT message, WPARAM wParam, LPARAM lParam, LRESULT* pLResult);
- virtual BOOL Create( DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID);
- //}}AFX_VIRTUAL
- // Implementation
- public:
- virtual ~CPaletteBar();
- protected:
- BOOL BeginAdjust(WPARAM wParam, LPARAM lParam, LRESULT* pLResult);
- BOOL BeginDrag(WPARAM wParam, LPARAM lParam, LRESULT* pLResult);
- BOOL CustomizeHelp(WPARAM wParam, LPARAM lParam, LRESULT* pLResult);
- BOOL EndAdjust(WPARAM wParam, LPARAM lParam, LRESULT* pLResult);
- BOOL EndDrag(WPARAM wParam, LPARAM lParam, LRESULT* pLResult);
- BOOL GetButtonInfo(WPARAM wParam, LPARAM lParam, LRESULT* pLResult);
- BOOL QueryDelete(WPARAM wParam, LPARAM lParam, LRESULT* pLResult);
- BOOL QueryInsert(WPARAM wParam, LPARAM lParam, LRESULT* pLResult);
- BOOL Reset(WPARAM wParam, LPARAM lParam, LRESULT* pLResult);
- BOOL ToolBarChange(WPARAM wParam, LPARAM lParam,LRESULT* pLResult);
- CString NeedText(UINT nID, NMHDR * pNotifyStruct, LRESULT * lResult);
- ///////////////////////////////////////////////////////////////////////////////
- // Following function has to be removed when OnNotify is fixed
- //
- virtual BOOL OnNotify(WPARAM wParam, LPARAM lParam, LRESULT* pResult);
- //
- ///////////////////////////////////////////////////////////////////////////////
- // Generated message map functions
- protected:
- //{{AFX_MSG(CPaletteBar)
- afx_msg void OnNeedTextW( UINT nID, NMHDR * pNotifyStruct, LRESULT * lResult );
- afx_msg void OnNeedTextA( UINT nID, NMHDR * pNotifyStruct, LRESULT * lResult );
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- /////////////////////////////////////////////////////////////////////////////
- #endif