Главная страница
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.05 c
2-1145533315
jiurafgdfg
2006-04-20 15:41
2006.05.07
Обьясните!!!Что-то непонятное как считает Delphi?


2-1145380821
comtat
2006-04-18 21:20
2006.05.07
Проблема в Query


9-1128282128
3d[Power]__
2005-10-02 23:42
2006.05.07
OGG via directsound


3-1141557640
maximsms
2006-03-05 14:20
2006.05.07
Firebird 1.5. error -901, "feature is not supported"


4-1140034908
Tailno
2006-02-15 23:21
2006.05.07
Эмитация нажатия сочетания клавиш в другой программе