ReactOS 0.4.16-dev-257-g6aa11ac
traynotify.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  NotifyIconIndex
 NotifyIconIndex is used for maintaining the order of notification icons. More...
 
struct  NotifyIconConfig
 configuration for the display mode of a notification icon More...
 
struct  NotifyInfo
 structure for maintaining informations about one notification icon More...
 
struct  NotifyHook
 
struct  NotifyArea
 tray notification area aka "tray" More...
 
struct  NotifyIconDlgInfo
 
struct  TrayNotifyDlg
 configuration dialog for notification icons More...
 
struct  ClockWindow
 window for displaying the time in the tray notification area More...
 

Macros

#define CLASSNAME_TRAYNOTIFY   TEXT("TrayNotifyWnd")
 
#define TITLE_TRAYNOTIFY   TEXT("")
 
#define CLASSNAME_CLOCKWINDOW   TEXT("TrayClockWClass")
 
#define NOTIFYAREA_WIDTH_DEF   100
 
#define NOTIFYICON_DIST   20
 
#define NOTIFYAREA_SPACE   10
 
#define NOTIFYICON_SIZE   16
 
#define NOTIFYICON_X   2
 
#define NOTIFYICON_Y   3
 
#define ICON_AUTOHIDE_SECONDS   300
 
#define PM_GETMODULEPATH_CB   (WM_APP+0x21)
 
#define PM_GET_NOTIFYAREA   (WM_APP+0x22)
 

Typedefs

typedef list< NotifyIconConfigNotifyIconCfgList
 list of NotifyIconConfig structures
 
typedef map< NotifyIconIndex, NotifyInfoNotifyIconMap
 
typedef set< NotifyInfoNotifyIconSet
 
typedef map< int, NotifyIconDlgInfoNotifyIconDlgInfoMap
 

Enumerations

enum  NOTIFYICONMODE { NIM_SHOW , NIM_HIDE , NIM_AUTO }
 

Functions

String string_from_mode (NOTIFYICONMODE mode)
 

Macro Definition Documentation

◆ CLASSNAME_CLOCKWINDOW

#define CLASSNAME_CLOCKWINDOW   TEXT("TrayClockWClass")

Definition at line 32 of file traynotify.h.

◆ CLASSNAME_TRAYNOTIFY

#define CLASSNAME_TRAYNOTIFY   TEXT("TrayNotifyWnd")

Definition at line 29 of file traynotify.h.

◆ ICON_AUTOHIDE_SECONDS

#define ICON_AUTOHIDE_SECONDS   300

Definition at line 41 of file traynotify.h.

◆ NOTIFYAREA_SPACE

#define NOTIFYAREA_SPACE   10

Definition at line 36 of file traynotify.h.

◆ NOTIFYAREA_WIDTH_DEF

#define NOTIFYAREA_WIDTH_DEF   100

Definition at line 34 of file traynotify.h.

◆ NOTIFYICON_DIST

#define NOTIFYICON_DIST   20

Definition at line 35 of file traynotify.h.

◆ NOTIFYICON_SIZE

#define NOTIFYICON_SIZE   16

Definition at line 37 of file traynotify.h.

◆ NOTIFYICON_X

#define NOTIFYICON_X   2

Definition at line 38 of file traynotify.h.

◆ NOTIFYICON_Y

#define NOTIFYICON_Y   3

Definition at line 39 of file traynotify.h.

◆ PM_GET_NOTIFYAREA

#define PM_GET_NOTIFYAREA   (WM_APP+0x22)

Definition at line 44 of file traynotify.h.

◆ PM_GETMODULEPATH_CB

#define PM_GETMODULEPATH_CB   (WM_APP+0x21)

Definition at line 43 of file traynotify.h.

◆ TITLE_TRAYNOTIFY

#define TITLE_TRAYNOTIFY   TEXT("")

Definition at line 30 of file traynotify.h.

Typedef Documentation

◆ NotifyIconCfgList

list of NotifyIconConfig structures

Definition at line 89 of file traynotify.h.

◆ NotifyIconDlgInfoMap

Definition at line 194 of file traynotify.h.

◆ NotifyIconMap

Definition at line 112 of file traynotify.h.

◆ NotifyIconSet

Definition at line 113 of file traynotify.h.

Enumeration Type Documentation

◆ NOTIFYICONMODE

Enumerator
NIM_SHOW 
NIM_HIDE 
NIM_AUTO 

Definition at line 64 of file traynotify.h.

64 {
66};
@ NIM_SHOW
Definition: traynotify.h:65
@ NIM_HIDE
Definition: traynotify.h:65
@ NIM_AUTO
Definition: traynotify.h:65

Function Documentation

◆ string_from_mode()

String string_from_mode ( NOTIFYICONMODE  mode)

Definition at line 863 of file traynotify.cpp.

864{
865 switch(mode) {
866 case NIM_SHOW:
868
869 case NIM_HIDE:
871
872 default: //case NIM_AUTO
874 }
875}
GLenum mode
Definition: glext.h:6217
#define IDS_NOTIFY_HIDE
Definition: resource.h:45
#define IDS_NOTIFY_SHOW
Definition: resource.h:44
#define IDS_NOTIFY_AUTOHIDE
Definition: resource.h:46
convenient loading of string resources
Definition: globals.h:304

Referenced by TrayNotifyDlg::InsertItem(), and NotifyArea::write_config().