Вниз
Скачать: 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 вся ветка

Скачать: CL | DM;



Память: 0.45 MB
Время: 0.025 c
1-56721
RoLeX
2003-11-06 20:49
2003.11.17
Как написать следующее условие: если X не равен Edit2.text, то...


3-56476
Vemer
2003-10-28 10:28
2003.11.17
Превращение столбца в строку


1-56740
Aleksandr
2003-11-06 16:50
2003.11.17
Как отправить потоку сообщение?


11-56549
васёк
2003-02-25 17:28
2003.11.17
C++Builder + KOL?


7-56929
enty
2003-09-07 13:36
2003.11.17
Как програмно выключить копьютер




   Наверх