На главную

On-line справка по Win32 API

Написать письмо
БЕСПЛАТНАЯ ежедневная online лотерея! Выигрывай каждый день БЕСПЛАТНО!
Список всех статей A-B-C-D-E-F-G-H-I-J-K-L-M-N-O-P-Q-R-S-T-U-V-W-X-Y-Z | Скачать Вниз

AddItem



The syntax for the AddItem command has this form:

AddItem(CmdLine[,
Name[,IconPath[,IconIndex[,xPos,yPos[,DefDir[,
HotKey[,fMinimize[fSeparateMemSpace] ] ] ] ] ] ])
The AddItem command instructs Program Manager to add an icon to an existing group. There is a limit of 50 items per group.
Following are the parameters for this command:

CmdLine

Specifies the full command line required to run the application. This parameter is a string. At a minimum, this string is the name of the executable file for the application. It can also include the full path of the application and any parameters required by the application.

Name

Specifies the title that is displayed below the icon in the group window.

IconPath

Identifies the filename for the icon to be displayed in the group window. This parameter is a string. This file can be either a Windows-based executable file or an icon file. If no value is specified for the IconPath parameter, Program Manager uses the first icon in the file specified by the CmdLine parameter if that file is an executable file. If CmdLine specifies an associated file, Program Manager uses the first icon of the associated executable file. The association is taken from the registry. (For more information about the registry, see Registry.) If CmdLine specifies neither an executable file nor an associated executable file, Program Manager uses a default icon.

IconIndex

Specifies the index of the icon in the file identified by the IconPath parameter. The IconIndex parameter is an integer. PROGMAN.EXE contains five built-in icons that can be used for programs not written for Windows.

xPos

Specifies the horizontal position of the icon in the group window. This parameter is an integer. Both the xPos and yPos parameters must be used to specify the position of the icon. If the position is not specified, Program Manager places the icon in the next available space.

yPos

Specifies the vertical position of the icon in the group window. This parameter is an integer. Both the xPos and yPos parameters must be used to specify the position of the icon. If the position is not specified, Program Manager places the icon in the next available space.

DefDir

Specifies the name of the default (or working) directory. This parameter is a string.

HotKey

Identifies a hot (or shortcut) key that is specified by the user.

fMinimize

Specifies whether an application window is to be minimized when first displayed.

fSeparateMemSpace

Specifies whether a 16-bit application runs in a separate memory space.




Пригласи друзей и счет твоего мобильника всегда будет положительным!
Предыдущая статья
 
Сайт Народ.Ру Интернет
Следующая статья
Пригласи друзей и счет твоего мобильника всегда будет положительным!

AddItem



Синтаксис для команды AddItem имеет эту форму:

AddItem(CmdLine[,
Имя[,IconPath[,IconIndex[,xPos,yPos[,DefDir[, HotKey[,fMinimize[fSeparateMemSpace] ] ] ] ] ] ])
Команда AddItem указывает Программного Менеджера, чтобы добавлять икону к существующей группе. Есть предел 50 пунктов за группу.
Следующее является параметрами для этой команды:

CmdLine

Определяет полную командную линию требовавшуюся, чтобы запускать приложение. Этот параметр является строкой. На минимуме, эта строка является именем выполняемого файла для приложения. Это может также включить полный путь приложения и любых параметров требовавшихся приложением.

Имя

Определяет название, которое отображено ниже иконы в групповом окне.

IconPath

Идентифицирует filename для иконы, которая нужно отображаться в групповом окне. Этот параметр является строкой. Этот файл может быть или выполняемый файл базирующегося Окна или иконный файл. Если никакая величина не определена для параметра IconPath, Запрограммируйте Менеджера использует первую икону в файле определенном параметром CmdLine если этот файл является выполняемым файлом. Если CmdLine определяет связанный файл, Запрограммируйте Менеджера использует первую икону связанного выполняемого файла. Ассоциация взята из регистрации. (Более подробно о регистрации, смотри Регистрацию.) Если CmdLine не определяет ни выполняемый файл ни связанный выполняемый файл, Запрограммируйте Менеджера использует встроенную икону.

IconIndex

Определяет индекс иконы в файле идентифицированном параметром IconPath. Параметр IconIndex является целым. PROGMAN.EXE СОДЕРЖИТ пять встроенных икон, которые могут быть использованы для программ не написанное для Окна.

xPos

Определяет горизонтальную позицию иконы в групповом окне. Этот параметр является целым. Как xPos так и параметры yPos должны быть использованы, чтобы определять позицию иконы. Если позиция не определена, Запрограммируйте Менеджера устанавливает икону в следующем доступном пространстве.

yPos

Определяет вертикальную позицию иконы в групповом окне. Этот параметр является целым. Как xPos так и параметры yPos должны быть использованы, чтобы определять позицию иконы. Если позиция не определена, Запрограммируйте Менеджера устанавливает икону в следующем доступном пространстве.

DefDir

Определяет имя встроенного директория (или работа). Этот параметр является строкой.

HotKey

Идентифицирует горячий ключ (или сокращенный), который определен потребителем.

fMinimize

Определяет должно прикладное окно быть минимизировано когда сначала отображено.

fSeparateMemSpace

Определяет работает 16- битовое приложение в отдельном пространстве памяти.




Вверх Version 1.3, Oct 26 2010 © 2007, 2010, mrhx Вверх
 mrhx software  Русский перевод OpenGL  Русский перевод Win32 API
 
Используются технологии uCoz