Главная страница
    Top.Mail.Ru    Яндекс.Метрика
Форум: "Начинающим";
Текущий архив: 2006.08.13;
Скачать: [xml.tar.bz2];

Вниз

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;
Скачать: [xml.tar.bz2];

Наверх





Память: 0.46 MB
Время: 0.033 c
15-1149183547
tesseract
2006-06-01 21:39
2006.08.13
футболка DelphiMaster


2-1153848827
fast2
2006-07-25 21:33
2006.08.13
Почему так?


15-1153240882
OSokin
2006-07-18 20:41
2006.08.13
Мертвое железо


15-1152966609
Ketmar
2006-07-15 16:30
2006.08.13
напомните мне, чем чревато no 80-conductor cable


2-1153667913
Tort
2006-07-23 19:18
2006.08.13
Системное время и работа с ним





Afrikaans Albanian Arabic Armenian Azerbaijani Basque Belarusian Bulgarian Catalan Chinese (Simplified) Chinese (Traditional) Croatian Czech Danish Dutch English Estonian Filipino Finnish French
Galician Georgian German Greek Haitian Creole Hebrew Hindi Hungarian Icelandic Indonesian Irish Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian
Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Thai Turkish Ukrainian Urdu Vietnamese Welsh Yiddish Bengali Bosnian
Cebuano Esperanto Gujarati Hausa Hmong Igbo Javanese Kannada Khmer Lao Latin Maori Marathi Mongolian Nepali Punjabi Somali Tamil Telugu Yoruba
Zulu
Английский Французский Немецкий Итальянский Португальский Русский Испанский