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

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



Память: 0.45 MB
Время: 0.027 c
1-79850
VolanD2002
2004-02-13 16:11
2004.02.25
DelphiColor to PascalColor


1-79771
pserg
2004-02-11 21:52
2004.02.25
Поиск фрагмента текста


1-79959
Zaratustra
2004-02-11 17:33
2004.02.25
TClientSocket без форм. Возможно ли это?


3-79592
nataliK
2004-02-02 16:14
2004.02.25
Query результат запроса выдает ##


1-79830
antonn
2004-02-11 06:59
2004.02.25
Изменить размер формы.




   Наверх