Главная страница
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.029 c
15-1145089520
Cerberus
2006-04-15 12:25
2006.05.07
Хостинг


4-1139574743
Udaff
2006-02-10 15:32
2006.05.07
Список Com-портов


2-1145478801
Niko
2006-04-20 00:33
2006.05.07
как отобрать фокус ))


15-1144829483
boriskb
2006-04-12 12:11
2006.05.07
Как вам американский "Солярис"?


9-1129465753
!Trinix
2005-10-16 16:29
2006.05.07
Нужны кости