![]() |
| ||
|
|
Новости |
Поиск |
FAQ |
Статьи |
Книги |
Новости VCL
| | Форумы ЧАТ |
Орешник |
|
| |||
| |||
« предыдущая ветвь | форум | следующая ветвь »
Как создать прогу, которая помещала бы tray-иконки в себя? [D6, WinXP]
Volf_555 © (2006-01-14 19:45:00)Планирую придумать свой Explorer.exe...
Столкнулся с проблемой - помещение tray-иконок (например при запуске, Касперский создаёт свою tray-иконку) в мою программу и доступ к ним, соответственно
Как такое сделать?
Volf_555 (2006-01-14 22:36:00) [21]JCL установило с двумя ошибками, какие именно - не написало, а
JVCL - ошибка снова, смотри
> Volf_555 (14.01.06 21:59) [3]
VirEx (2006-01-14 22:28:00) [22]
> [7] Eraser © (14.01.06 22:22)
>
> > VirEx © (14.01.06 21:16) [2]
>
> к чему этот список ф-й? ;)
A window station is a secure object that contains a clipboard, a set of global atoms and a group of desktop objects. The interactive window station assigned to the logon session of the interactive user also contains the keyboard, mouse, and display device. The interactive window station is visible to the user and can receive input from the user. All other window stations are noninteractive, which means that they cannot be made visible to the user, and cannot receive user input.
Applications can use the following functions for manipulating window station objects:
Function Description
CloseWindowStation Closes a specified window station.
CreateWindowStation Creates a new window station.
EnumWindowStations Enumerates the window stations in the system by repeatedly calling an application-defined EnumWindowStationProc callback function.
GetProcessWindowStation Returns a handle of the window station assigned to the calling process.
GetUserObjectInformation Gets information about a window station or desktop object.
GetUserObjectSecurity Gets security information for a window station or desktop object.
OpenWindowStation Opens a handle of an existing window station.
SetProcessWindowStation Assigns a specified window station to the calling process.
SetUserObjectInformation Sets information about a window station or desktop object.
SetUserObjectSecurity Sets security information for a window station or desktop object.
сабж, ну хочет человек свой shell вместо explorer'a сделать, пусть делает :)
Eraser (2006-01-14 22:22:00) [23]
> VirEx © (14.01.06 21:16) [2]
к чему этот список ф-й? ;)
Eraser (2006-01-14 22:21:00) [24]
> Volf_555 (14.01.06 21:59) [3]
Скачай так же JCL. Потом в корнекакого-нибудь диска создай каталог JEDI и в него скопируй папки JCL и JVCL. Сначала устанавливай JCL потом JVCL. Вся установка займёт минуты 3-4 - всё автоматизированно.
VirEx (2006-01-14 22:14:00) [25]
> [4] Volf_555 (14.01.06 22:11)
эм... "D:\Program Files\Common Files\Borland Shared\MSHelp\WIN32SDK.HLP"
Volf_555 (2006-01-14 22:11:00) [26]
> VirEx © (14.01.06 21:16) [2]
Кстати, нет ли у тебя литературы насчёт этих функций? Если есть, то скинь на мыло: kostya__@list.ru
Volf_555 (2006-01-14 21:59:00) [27]
> Eraser © (14.01.06 20:02) [1]
> TJvTrayIcon из JEDI VCL поможет.
Скачал... Только как установить?!
Install.bat - ругается:
build.exe found. Pretest: ok
Using d6 for build process.
MAKE Version 5.2 Copyright (c) 1987, 1998 Inprise Corp.
[Generating MO files]
[Compiling: Installer]
MAKE Version 5.2 Copyright (c) 1987, 1998 Inprise Corp.
Writing: ..\..\install\JVCLInstall\JVCLInstall.cfg
Borland Delphi Version 14.0
Copyright (c) 1983,2001 Borland Software Corporation
E:\SysFolders\Desktop\JVCL\jvcl\run\JvTypes.pas(558) Error: Undeclared identifie
r: 'clHotLight'
E:\SysFolders\Desktop\JVCL\jvcl\run\JvTypes.pas(559) Error: Undeclared identifie
r: 'clMenuBar'
E:\SysFolders\Desktop\JVCL\jvcl\run\JvTypes.pas(560) Error: Undeclared identifie
r: 'clMenuHighlight'
E:\SysFolders\Desktop\JVCL\jvcl\run\JvExControls.pas(56) Fatal: Could not compil
e used unit 'JvTypes.pas'
** error 1 ** deleting Installer_nomo
Press ENTER to continue
Как исправить ситуацию?
> VirEx © (14.01.06 21:16) [2]
Спасибо - попробую!
VirEx (2006-01-14 21:16:00) [28]CloseDesktop
CloseWindowStation
CreateDesktop
CreateWindowStation
EnumDesktopProc
EnumDesktops
EnumDesktopWindows
EnumWindowStationProc
EnumWindowStations
GetProcessWindowStation
GetThreadDesktop
GetUserObjectInformation
GetUserObjectSecurity
OpenDesktop
OpenInputDesktop
OpenWindowStation
SetProcessWindowStation
SetThreadDesktop
SetUserObjectInformation
SetUserObjectSecurity
SwitchDesktop
Eraser (2006-01-14 20:02:00) [29]TJvTrayIcon из JEDI VCL поможет.