Вниз
Скачать: 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 вся ветка

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



Память: 0.45 MB
Время: 0.025 c
15-1145028356
Kart S.
2006-04-14 19:25
2006.05.07
TEditWindow (Кто помнит Turbo Vision?)


15-1144781473
palva
2006-04-11 22:51
2006.05.07
Московский Комсомолец - желтая газета.


1-1142340852
Sergg
2006-03-14 15:54
2006.05.07
Как разукрасить ветки из TTreeView


1-1143059918
Yegorchic
2006-03-22 23:38
2006.05.07
Сохранение компонета


2-1145541105
Никола
2006-04-20 17:51
2006.05.07
QuickReport




   Наверх