Главная страница
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.027 c
1-56646
AndreyA
2003-11-01 13:04
2003.11.17
QRPreview


9-56427
Ace Cooper
2003-05-09 00:29
2003.11.17
Использование анимированых персонажей в играх без DelphiX и т.п.


14-56866
Думкин
2003-10-26 05:14
2003.11.17
С днем рождения! 26 октября.


11-56541
DvL
2003-02-27 06:38
2003.11.17
KOL&MCK


3-56494
smu
2003-10-28 11:10
2003.11.17
Здравствуйте. Как правильно работать с транзакциями в firebird?