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

Вниз

Как из файла *.res вытащить иконку в программе   Найти похожие ветки 

 
Сергей И   (2006-04-20 10:30) [0]

КАК подключить файл res


 
balepa ©   (2006-04-20 11:03) [1]

{$R data\AboutRes.res}

Image2.Picture.Bitmap.LoadFromResourceName(hinstance,"LOGO");

Instance is the handle of the module that contains the resource.


 
AbrosimovA ©   (2006-04-20 11:06) [2]

implementation

uses ShellAPI;

{$R *.dfm}
{$R program.res}

procedure ....
var hIco: HICON;
begin
hIco:=ExtractIcon(hInstance,"program.exe",icoIndex);
Application.Icon.Handle:=hIco;
end



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

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

Наверх




Память: 0.46 MB
Время: 0.026 c
15-1144851938
RomanH
2006-04-12 18:25
2006.05.07
Переход с Delphi7 на Delphi2005


1-1143804422
Кашперук Иван
2006-03-31 15:27
2006.05.07
Сохранение файла в exe-шнике


15-1144604999
AlterEgo of WondeRu
2006-04-09 21:49
2006.05.07
Gagarin Mastak Party


11-1125947930
MemoMan
2005-09-05 23:18
2006.05.07
Как производить навигацию по тексту KolMemo?


4-1139733773
Alextp
2006-02-12 11:42
2006.05.07
Контекстное меню Проводника