Вниз
Скачать: 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.031 c
15-1144916441
Rentgen
2006-04-13 12:20
2006.05.07
как узнать дату вчерашнего дня в PHP


4-1139768906
zaN0za
2006-02-12 21:28
2006.05.07
Реестр Windows


4-1139814010
Asail
2006-02-13 10:00
2006.05.07
Как получить caption окна чужой программы?


2-1145299159
Flint-1983
2006-04-17 22:39
2006.05.07
аутентификация


2-1145302733
Norfolk
2006-04-17 23:38
2006.05.07
Запрет изменения размера окна




   Наверх