Public Member Functions | Public Attributes | Protected Member Functions | Friends

NotifyIconIndex Struct Reference

NotifyIconIndex is used for maintaining the order of notification icons. More...

#include <traynotify.h>

Inheritance diagram for NotifyIconIndex:
Inheritance graph
[legend]
Collaboration diagram for NotifyIconIndex:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 NotifyIconIndex (NOTIFYICONDATA *pnid)

Public Attributes

HWND _hWnd
UINT _uID

Protected Member Functions

 NotifyIconIndex ()

Friends

bool operator< (const NotifyIconIndex &a, const NotifyIconIndex &b)

Detailed Description

NotifyIconIndex is used for maintaining the order of notification icons.

Definition at line 48 of file traynotify.h.


Constructor & Destructor Documentation

NotifyIconIndex::NotifyIconIndex ( NOTIFYICONDATA *  pnid )

Definition at line 67 of file traynotify.cpp.

References _hWnd, and _uID.

{
    _hWnd = pnid->hWnd;
    _uID = pnid->uID;

     // special handling for windows task manager
    if ((int)_uID < 0)
        _uID = 0;
}
NotifyIconIndex::NotifyIconIndex (  ) [protected]

Definition at line 77 of file traynotify.cpp.

References _hWnd, and _uID.

{
    _hWnd = 0;
    _uID = 0;
}

Friends And Related Function Documentation

bool operator< ( const NotifyIconIndex a,
const NotifyIconIndex b 
) [friend]

Definition at line 53 of file traynotify.h.

        {return a._hWnd<b._hWnd || (a._hWnd==b._hWnd && a._uID<b._uID);}

Member Data Documentation

Definition at line 57 of file traynotify.h.

Referenced by NotifyInfo::modify(), NotifyIconIndex(), and NotifyArea::WndProc().


The documentation for this struct was generated from the following files:

ROS Explorer Source Code Documentation
generated on 02.01.2013 by doxygen

ROS Explorer Homepage