- 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源码
TrayIcon.h
资源名称:iconizer.zip [点击查看]
上传用户:songshun
上传日期:2007-01-04
资源大小:51k
文件大小:2k
源码类别:
按钮控件
开发平台:
Visual C++
- //===========================================================================
- //
- // HomeWork from Belgium Not licensed software
- // 1999 - 2000 No rights reserved
- //
- //===========================================================================
- //
- // Project/Product : Iconizer DLL
- // FileName : TrayIcon.h
- // Author(s) : Bart Gysens
- //
- // Description : Declaration of CTrayIcon class
- //
- // Classes : CTrayIcon
- //
- // Information :
- // Compiler(s) : Visual C++ 6.0
- // Target(s) : Windows 95/98 and Windows NT (x86)
- // Editor : Visual C++ 6.0 internal editor
- //
- // History
- // Vers. Date Aut. Type Description
- // ----- -------- ---- ------- -----------------------------------------
- // 1.00 22 05 99 BG Create Original
- //
- //===========================================================================
- #ifndef _TRAYICON_H_INCLUDED__
- #define _TRAYICON_H_INCLUDED__
- #include "hooklist.h"
- //===========================================================================
- // Macros and typedefs
- //===========================================================================
- #define WM_NOTIFYICON ( WM_USER + 0x543 )
- //===========================================================================
- //
- // Class : CTrayIcon
- // Author(s) : Bart Gysens
- //
- // Description : Declaration of the CTrayIcon class
- //
- // Comments : none
- //
- // History : 1.00 : Create
- //
- //===========================================================================
- class CTrayIcon
- {
- // Member functions
- public:
- CTrayIcon();
- public:
- void AddTrayIcon( HWND hWnd );
- void DelTrayIcon( HWND hWnd );
- public:
- virtual void OnNotifyIcon( HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam, CHookItem * pItem );
- protected:
- HICON GetAppIcon ( HWND hWnd );
- BOOL TrayMessage( HWND hWnd, DWORD dMsg );
- };
- #endif // _TRAYICON_H_INCLUDED__