Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2003.03.06;
Скачать: 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 вся ветка

Текущий архив: 2003.03.06;
Скачать: CL | DM;

Наверх




Память: 0.47 MB
Время: 0.012 c
8-17214
LAMER999
2002-11-25 04:01
2003.03.06
bmp-24,16


1-17029
Маришка
2003-02-25 09:40
2003.03.06
вопросик


14-17270
Шоломицкий
2003-02-19 14:57
2003.03.06
DBNavigator


14-17366
JibSkeart
2003-02-17 11:08
2003.03.06
А почему все говорят что нельзя из DLL узнать имя функции ??


8-17200
Юлиана
2002-11-20 21:02
2003.03.06
звук