Главная страница
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.041 c
2-1145603620
makar
2006-04-21 11:13
2006.05.07
TRichEdit


2-1144847743
kernel
2006-04-12 17:15
2006.05.07
Console and RUS


3-1142000660
Exciter
2006-03-10 17:24
2006.05.07
Fb1.5 Как разрешить юзеру ввести в поле


3-1142354432
Juice
2006-03-14 19:40
2006.05.07
Абсолютное значение (модуль) поля


15-1144520015
Ketmar
2006-04-08 22:13
2006.05.07
играющие в Magic the Gathering, посветуйте, plz