Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2003.11.17;
Скачать: CL | DM;

Вниз

Структура NOTIFYICONDATAW   Найти похожие ветки 

 
Denis ©   (2003-11-07 09:36) [0]

Привет всем!

Подскажите, пожалуйста, где найти описание полей этой структуры (функции и возможные значения). Хочется ведь понимать, что и почему, а не просто пример скопировать...

NOTIFYICONDATAW = record
cbSize: DWORD;
Wnd: HWND;
uID: UINT;
uFlags: UINT;
uCallbackMessage: UINT;
hIcon: HICON;
szTip: array [0..63] of WideChar;
end;


 
mc_duck   (2003-11-07 09:43) [1]

Contains information that the system needs to process taskbar status area messages.

typedef struct _NOTIFYICONDATA { // nid
DWORD cbSize;
HWND hWnd;
UINT uID;
UINT uFlags;
UINT uCallbackMessage;
HICON hIcon;
char szTip[64];
} NOTIFYICONDATA, *PNOTIFYICONDATA;


Members

cbSize

Size of the NOTIFYICONDATA structure.

hWnd

Handle of the window that receives notification messages associated with an icon in the taskbar status area.

uID

Application-defined identifier of the taskbar icon.

uFlags

Array of flags that indicate which of the other members contain valid data. This member can be a combination of these values:

NIF_ICON The hIcon member is valid.
NIF_MESSAGE The uCallbackMessage member is valid.
NIF_TIP The szTip member is valid.


uCallbackMessage

Application-defined message identifier. The system uses the specified identifier for notification messages that it sends to the window identified by hWnd whenever a mouse event occurs in the bounding rectangle of the icon.

hIcon

Handle of the icon to add, modify, or delete.

szTip

Tooltip text to display for the icon.

По WinAPI есть вроде здесь же отдельный форум.


 
Denis ©   (2003-11-07 09:56) [2]


> По WinAPI есть вроде здесь же отдельный форум


Прошу прощения за рассеянность. Давайте переместим сабж в нужное место...

А можно немножко поподробнее о cbSize?
Вот я пишу(по примеру):
cbSize:= sizeof(TnotifyIconData);
Я просморел обьявления в модуле ShellApi, начиная с TnotifyIconData,и цепочка привела меня не к NOTIFYICONDATAW , а к NOTIFYICONDATAA.

В чем разница?


 
Denis ©   (2003-11-07 11:45) [3]


> mc_duck (07.11.03 09:43) [1]


Спасибо за информацию.



Страницы: 1 вся ветка

Текущий архив: 2003.11.17;
Скачать: CL | DM;

Наверх




Память: 0.47 MB
Время: 0.025 c
6-56791
Pavel Oliynik
2003-09-18 09:35
2003.11.17
как узнать по іp имя текущего почтаря, если он есть


11-56544
Gandalf
2003-02-01 11:54
2003.11.17
KOLIndy?


14-56870
Nikolay M.
2003-10-25 18:26
2003.11.17
Снимки сайтов delphimaster.ru, delphikingdom.ru и sql.ru


1-56719
webpauk
2003-11-06 17:03
2003.11.17
Переопределение размерности свойства


7-56923
Ihor Osov'yak
2003-09-08 12:20
2003.11.17
COM, ActiveX и записи в реестре..