Classes | Defines | Typedefs | Enumerations | Functions

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...

Defines

#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,
NotifyInfo
NotifyIconMap
typedef set< NotifyInfoNotifyIconSet
typedef map< int,
NotifyIconDlgInfo
NotifyIconDlgInfoMap

Enumerations

enum  NOTIFYICONMODE { NIM_SHOW, NIM_HIDE, NIM_AUTO }

Functions

String string_from_mode (NOTIFYICONMODE mode)

Define Documentation

#define CLASSNAME_CLOCKWINDOW   TEXT("TrayClockWClass")

Definition at line 32 of file traynotify.h.

Referenced by ClockWindow::Create().

#define CLASSNAME_TRAYNOTIFY   TEXT("TrayNotifyWnd")

Definition at line 29 of file traynotify.h.

Referenced by NotifyArea::Create().

#define ICON_AUTOHIDE_SECONDS   300

Definition at line 41 of file traynotify.h.

Referenced by NotifyArea::Refresh().

#define NOTIFYAREA_SPACE   10

Definition at line 36 of file traynotify.h.

Referenced by NotifyArea::WndProc().

#define NOTIFYAREA_WIDTH_DEF   100

Definition at line 34 of file traynotify.h.

Referenced by NotifyArea::Create(), and TaskBar::Create().

#define NOTIFYICON_DIST   20
#define NOTIFYICON_SIZE   16
#define NOTIFYICON_X   2
#define NOTIFYICON_Y   3
#define PM_GET_NOTIFYAREA   (WM_APP+0x22)

Definition at line 44 of file traynotify.h.

Referenced by DesktopBar::WndProc().

#define PM_GETMODULEPATH_CB   (WM_APP+0x21)

Definition at line 43 of file traynotify.h.

#define TITLE_TRAYNOTIFY   TEXT("")

Definition at line 30 of file traynotify.h.

Referenced by NotifyArea::Create().


Typedef Documentation

list of NotifyIconConfig structures

Definition at line 89 of file traynotify.h.

Definition at line 194 of file traynotify.h.

Definition at line 112 of file traynotify.h.

typedef set<NotifyInfo> NotifyIconSet

Definition at line 113 of file traynotify.h.


Enumeration Type Documentation

Enumerator:
NIM_SHOW 
NIM_HIDE 
NIM_AUTO 

Definition at line 64 of file traynotify.h.


Function Documentation

String string_from_mode ( NOTIFYICONMODE  mode )

Definition at line 879 of file traynotify.cpp.

References IDS_NOTIFY_AUTOHIDE, IDS_NOTIFY_HIDE, IDS_NOTIFY_SHOW, NIM_HIDE, and NIM_SHOW.

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

{
    switch(mode) {
      case NIM_SHOW:
        return ResString(IDS_NOTIFY_SHOW);

      case NIM_HIDE:
        return ResString(IDS_NOTIFY_HIDE);

      default:  //case NIM_AUTO
        return ResString(IDS_NOTIFY_AUTOHIDE);
    }
}

Here is the caller graph for this function:


ROS Explorer Source Code Documentation
generated on 02.01.2013 by doxygen

ROS Explorer Homepage