- Visual C++源码
- Visual Basic源码
- C++ Builder源码
- Java源码
- Delphi源码
- C/C++源码
- PHP源码
- Perl源码
- Python源码
- Asm源码
- Pascal源码
- Borland C++源码
- Others源码
- SQL源码
- VBScript源码
- JavaScript源码
- ASP/ASPX源码
- C#源码
- Flash/ActionScript源码
- matlab源码
- PowerBuilder源码
- LabView源码
- Flex源码
- MathCAD源码
- VBA源码
- IDL源码
- Lisp/Scheme源码
- VHDL源码
- Objective-C源码
- Fortran源码
- tcl/tk源码
- QT源码
HookList.h
资源名称:iconizer.zip [点击查看]
上传用户:songshun
上传日期:2007-01-04
资源大小:51k
文件大小:3k
源码类别:
按钮控件
开发平台:
Visual C++
- //===========================================================================
- //
- // HomeWork from Belgium Not licensed software
- // 1999 - 2000 No rights reserved
- //
- //===========================================================================
- //
- // Project/Product : Iconizer DLL
- // FileName : HookList.h
- // Author(s) : Bart Gysens
- //
- // Description : Header file for the CHookList class
- //
- // Classes : CHookItem
- // CHookList
- //
- // Information :
- // Compiler(s) : Visual C++ 6.0
- // Target(s) : Windows 95/98 and Windows NT (x86)
- // Editor : Visual C++ 5.0 internal editor
- //
- // History
- // Vers. Date Aut. Type Description
- // ----- -------- ---- ------- -----------------------------------------
- // 1.00 22 05 99 BG Create Original
- //
- //===========================================================================
- #ifndef _HOOKLIST_H_INCLUDED__
- #define _HOOKLIST_H_INCLUDED__
- //===========================================================================
- // Macros and typedefs
- //===========================================================================
- //===========================================================================
- //
- // Class : CHookItem
- // Author(s) : Bart Gysens
- //
- // Description : Declaration of the CHookItem class
- //
- // Comments : This class is used by the CCom class
- //
- // History : 1.00 : Create
- //
- //===========================================================================
- class CHookItem
- {
- // Member variables
- public:
- HWND m_hWnd ;
- WNDPROC m_HookWndProc ;
- WNDPROC m_DefWndProc ;
- BOOL m_LBtnDown ;
- // Member functions
- public:
- CHookItem( HWND hWnd, WNDPROC hookWndProc, WNDPROC defWndProc )
- {
- m_hWnd = hWnd ;
- m_HookWndProc = hookWndProc ;
- m_DefWndProc = defWndProc ;
- m_LBtnDown = FALSE ;
- }
- };
- //===========================================================================
- //
- // Class : CHookList
- // Author(s) : Bart Gysens
- //
- // Description : Declaration of the CHookList class
- //
- // Comments : This class is used by the CCom class
- //
- // History : 1.00 : Create
- //
- //===========================================================================
- class CHookList
- {
- // Member variables
- protected:
- UINT m_NbrItems ;
- CHookItem * m_pHookItem ;
- // Member functions
- public:
- CHookList ();
- ~CHookList ();
- public:
- BOOL AddItem ( CHookItem& Item ) ;
- CHookItem * GetItem ( HWND hWnd ) ;
- BOOL DelItem ( HWND hWnd ) ;
- BOOL DelAllItems () ;
- };
- #endif // _HOOKLIST_H_INCLUDED__