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

Вниз

Shell Extensions   Найти похожие ветки 

 
Bambucha   (2006-07-23 18:03) [0]

Люди ктонить знает Shell Extensions? Надо бы добавить свою прогу в меню


 
Bambucha   (2006-07-23 19:29) [1]

Не ну чё никто ничего не знает чтоли???


 
AlexanderMS ©   (2006-07-23 19:34) [2]


> Надо бы добавить свою прогу в меню

В какое меню? Не знаю, вопрос вроде бы Вы про расширения файлов. http://www.sdteam.com/?tid=330. Поможет?


 
Anatoly Podgoretsky ©   (2006-07-23 19:43) [3]

О чем речь?


 
Palladin ©   (2006-07-23 19:45) [4]


> Не ну чё никто ничего не знает чтоли???

Не ну чё в инете поискать вломы чтоли???


 
Bambucha   (2006-07-23 21:29) [5]


> В какое меню?

Ну на рабочем столе щёлкаешь провой кнопкой появляется меню...


 
Мефисто   (2006-07-23 22:11) [6]


> Bambucha   (23.07.06 21:29) [5]


Ответ в этом топике, правда выравнивание кода там оригинальное :)))


> AlexanderMS ©   (23.07.06 19:34) [2]


Вот значения флагов. Прикручивай куда надо (из примера по ссылке выше).

CMF_CANRENAME
This flag is set if the calling application supports renaming of items. A shortcut menu extension or drag-and-drop handler should ignore this flag. A namespace extension should add a rename item to the menu if applicable.
CMF_DEFAULTONLY
This flag is set when the user is activating the default action, typically by double-clicking. This flag provides a hint for the shortcut menu extension to add nothing if it does not modify the default item in the menu. A shortcut menu extension or drag-and-drop handler should not add any menu items if this value is specified. A namespace extension should add only the default item (if any).
CMF_EXPLORE
This flag is set when the Microsoft® Windows® Explorer tree window is present.
CMF_EXTENDEDVERBS
This flag is set when the calling application wants extended verbs. Normal verbs are displayed when the user right-clicks an object. To display extended verbs, the user must right-click while pressing the SHIFT key.
CMF_INCLUDESTATIC
This flag is set when a static menu is being constructed. Only the browser should use this flag. All other shortcut menu extensions should ignore this flag.
CMF_NODEFAULT
This flag is set if no item in the menu should be the default item. A drag-and-drop handler should ignore this flag. A namespace extension should not set any of the menu items to the default.
CMF_NORMAL
Indicates normal operation. A shortcut menu extension, namespace extension, or drag-and-drop handler can add all menu items.
CMF_NOVERBS
This flag is set for items displayed in the Send To menu. Shortcut menu handlers should ignore this value.
CMF_VERBSONLY
This flag is set if the shortcut menu is for a shortcut object. Shortcut menu handlers should ignore this value.


 
Homo Sapiens ©   (2006-07-24 14:28) [7]

procedure createmenu;
var reg:tregistry;
begin
 reg:=tregistry.Create;
 reg.RootKey:=HKEY_CLASSES_ROOT;
 reg.OpenKey("расширение файла\Shell\OpenWith",true);
 reg.WriteString("""расширение файла,"OpenWith");
 reg.WriteString(""расширение файла","чё ты пишешь в меню");
 reg.CloseKey;
 reg.OpenKey(""расширение файла\Shell\OpenWith\command",true);
 reg.WriteString("","command");
 reg.WriteString("",paramstr(0)+" "1%"");
 reg.CloseKey;
reg.Free;
утвж



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

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

Наверх




Память: 0.48 MB
Время: 0.034 c
2-1153667913
Tort
2006-07-23 19:18
2006.08.13
Системное время и работа с ним


1-1151428916
Наиль
2006-06-27 21:21
2006.08.13
COM-объект и слово SET


2-1153834976
VitV
2006-07-25 17:42
2006.08.13
TBlobStream-какой uses нужно подрубать?


3-1149768298
fuckman
2006-06-08 16:04
2006.08.13
Ошибка "Multiple record found, but only one was expected"


2-1153900388
Wolferio
2006-07-26 11:53
2006.08.13
Доступен ли указаный копмьютер в сети