ReactOS 0.4.15-dev-5664-g3bf4ef6
NotifyIconIndex Struct Reference

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

#include <traynotify.h>

Inheritance diagram for NotifyIconIndex:
Collaboration diagram for NotifyIconIndex:

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() [1/2]

NotifyIconIndex::NotifyIconIndex ( NOTIFYICONDATA pnid)

Definition at line 64 of file traynotify.cpp.

65{
66 _hWnd = pnid->hWnd;
67 _uID = pnid->uID;
68
69 // special handling for windows task manager
70 if ((int)_uID < 0)
71 _uID = 0;
72}

◆ NotifyIconIndex() [2/2]

NotifyIconIndex::NotifyIconIndex ( )
protected

Definition at line 74 of file traynotify.cpp.

75{
76 _hWnd = 0;
77 _uID = 0;
78}

Friends And Related Function Documentation

◆ operator<

Definition at line 53 of file traynotify.h.

54 {return a._hWnd<b._hWnd || (a._hWnd==b._hWnd && a._uID<b._uID);}
GLboolean GLboolean GLboolean b
Definition: glext.h:6204
GLboolean GLboolean GLboolean GLboolean a
Definition: glext.h:6204

Member Data Documentation

◆ _hWnd

HWND NotifyIconIndex::_hWnd

Definition at line 56 of file traynotify.h.

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

◆ _uID

UINT NotifyIconIndex::_uID

Definition at line 57 of file traynotify.h.

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


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