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

Вниз

Как создать свою кнопку в тулбаре виндоуса (Не трее, а тулбаре!)   Найти похожие ветки 

 
Тфьу   (2004-02-10 11:29) [0]

Сабж.
Кнопка должна быть идентичной стандартной и так же взаимодействовать с другими кнопками.
Как отловить событие нажатия на нее? (если есть onClick - второй вопрос отпадает)


 
Palladin ©   (2004-02-10 11:58) [1]

А где у виндоус тулбар?


 
DVM ©   (2004-02-10 12:40) [2]

Если имеется ввиду Панель задач, то в 98 - это не тулбар, в 2000 тулбар, но кнопку добавить можно лишь создав окно, в XP - тулбар и кнопку можно добавить - для этого есть у нее специальный иттерфейс. См. MSDN.


 
DVM ©   (2004-02-10 12:50) [3]

Modifying the Contents of the Taskbar
Version 4.71 and later of Shell32.dll adds the capability to modify the contents of the taskbar. From an application, you can now add, remove, and activate taskbar buttons. Activating the item does not activate the window; it shows the item as pressed on the taskbar.

The taskbar modification capabilities are implemented in a Component Object Model (COM) object (CLSID_TaskbarList ) that exposes the ITaskbarList interface (IID_ITaskbarList ). You must call the HrInit method to initialize the object. You can then use the methods of the ITaskbarList interface to modify the contents of the taskbar.



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

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

Наверх




Память: 0.47 MB
Время: 0.05 c
3-79591
Lexer
2004-02-02 11:50
2004.02.25
Alter рекурсивной процедуры


1-79909
juiceman
2004-02-09 22:35
2004.02.25
как писать сервысы на Delphi?


3-79612
Saddam
2004-01-30 18:47
2004.02.25
BDE Out of memory на 200000+ записи выборки


6-80070
Pont
2003-12-18 12:27
2004.02.25
POP3 через прокси


14-80163
Арр'акктур
2004-01-24 20:44
2004.02.25
Перехват нажатия на 3-ю кнопку крысы