Defines | Functions

traynotify.cpp File Reference

#include <precomp.h>
#include "../resource.h"
#include "traynotify.h"
#include "../notifyhook/notifyhook.h"
Include dependency graph for traynotify.cpp:

Go to the source code of this file.

Defines

#define NID_SIZE_W6   sizeof(NOTIFYICONDATAW)
#define NID_SIZE_W5   (sizeof(NOTIFYICONDATAW)-sizeof(GUID))
#define NID_SIZE_W3   (sizeof(NOTIFYICONDATAW)-sizeof(GUID)-(128-64)*sizeof(WCHAR))
#define NID_SIZE_A6   sizeof(NOTIFYICONDATAA)
#define NID_SIZE_A5   (sizeof(NOTIFYICONDATAA)-sizeof(GUID))
#define NID_SIZE_A3   (sizeof(NOTIFYICONDATAA)-sizeof(GUID)-(128-64)*sizeof(CHAR))

Functions

String string_from_mode (NOTIFYICONMODE mode)

Define Documentation

#define NID_SIZE_A3   (sizeof(NOTIFYICONDATAA)-sizeof(GUID)-(128-64)*sizeof(CHAR))

Definition at line 105 of file traynotify.cpp.

Referenced by NotifyInfo::modify().

#define NID_SIZE_A5   (sizeof(NOTIFYICONDATAA)-sizeof(GUID))

Definition at line 104 of file traynotify.cpp.

Referenced by NotifyInfo::modify().

#define NID_SIZE_A6   sizeof(NOTIFYICONDATAA)

Definition at line 103 of file traynotify.cpp.

Referenced by NotifyInfo::modify().

#define NID_SIZE_W3   (sizeof(NOTIFYICONDATAW)-sizeof(GUID)-(128-64)*sizeof(WCHAR))

Definition at line 100 of file traynotify.cpp.

Referenced by NotifyInfo::modify().

#define NID_SIZE_W5   (sizeof(NOTIFYICONDATAW)-sizeof(GUID))

Definition at line 99 of file traynotify.cpp.

Referenced by NotifyInfo::modify().

#define NID_SIZE_W6   sizeof(NOTIFYICONDATAW)

Definition at line 98 of file traynotify.cpp.

Referenced by NotifyInfo::modify().


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