Вниз
Скачать: CL | DM;

ярлыки   Найти похожие ветки 

← →
Adios ©   (2006-09-06 18:08) [0]

как програмно можно присвоить выбранную иконку ярлыку?


← →
RASkov   (2006-09-06 21:28) [1]

Вот кусок кода (неполный, что убрал к сабжу не относится)... может что и нароешь

procedure CreateShortcut(const FilePath, ShortcutPath,
          WorkDir, Description, Params: String; const NIco: Integer=0);
var Obj: IUnknown;
begin
.............
 with (Obj as IShellLink) do begin
  SetPath(PChar(FilePath));
  SetArguments(PChar(Params));
  SetDescription(PChar(Description));
  SetWorkingDirectory(PChar(WorkDir));
  SetIconLocation(PChar(MyGetSystemDir+"\SHELL32.dll"), NIco);
 end;
 (Obj as IPersistFile).Save(PWChar(WideString(ShortcutPath)), False);
......
end;



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

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



Память: 0.44 MB
Время: -0.957 c
2-1157526926
чаки
2006-09-06 11:15
2006.09.24
TRichEdit, загрузка rtf текста


1-1155649301
apic
2006-08-15 17:41
2006.09.24
Сервисы.


15-1156495509
Stexen
2006-08-25 12:45
2006.09.24
МКАД


3-1153495580
Ravil
2006-07-21 19:26
2006.09.24
Считывание текстовой информации в БД!


2-1157169755
Viktop
2006-09-02 08:02
2006.09.24
Отправка SMS на Биллайн




   Наверх