Вниз
Скачать: CL | DM;

ExtractIcon   Найти похожие ветки 

 
viper   (2003-01-17 16:35) [0]

Как узнать общее количество иконок которые хранятся в dll,exe (желательно пример, если можно)!


 
MBo ©   (2003-01-17 16:42) [1]

А кто будет хелп читать?

nIconIndex

Specifies the index of the icon to retrieve. If this value is 0, the function returns the handle of the first icon in the specified file. If this value is -1, the function returns the total number of icons in the specified file.


 
viper   (2003-01-17 16:44) [2]

Это я прочитал, но если ставить -1 то, выдается ошибка, ты код лучше писни


 
MBo ©   (2003-01-17 16:51) [3]

Caption:=IntToStr(ExtractIcon(hinstance,PChar(Paramstr(0)),Cardinal(-1)));


 
Nick_N_A ©   (2003-01-18 05:51) [4]

У делфи в Resources + Ctrl+F1 прекрасное описание всей этой муры,
но я еще не разобрался,
смотри ф-цию EnumResourceNames(HInst,RT_ICON,@CallBackProc,0)


BOOL CALLBACK EnumResNameProc(

HANDLE hModule, // resource-module handle
LPCTSTR lpszType, // pointer to resource type
LPTSTR lpszName, // pointer to resource name
LONG lParam // application-defined parameter
);



Страницы: 1 вся ветка

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



Память: 0.45 MB
Время: 0.011 c
3-16897
Pk
2003-02-14 16:10
2003.03.06
Как сделать чтобы QuickReport


14-17299
Dimich1978
2003-02-20 09:25
2003.03.06
Траспортники барзеют(Пенза)


1-17182
som
2003-02-24 11:24
2003.03.06
StringGrid & QReport


1-17072
Ghost_
2003-02-25 16:21
2003.03.06
KOI8-R


3-16946
_NN
2003-02-16 21:24
2003.03.06
Удаление записи Paradox




   Наверх