JVCL Help:ExtractIconFromFile

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Retrieves a handle to an icon from the specified executable file, dynamic-link library (DLL), or icon file.

run\JvWinDialogs.pas


Pascal

 run\JvWinDialogs.pas
 functionExtractIconFromFile(FileName: string; Index: Integer): HICON;


Parameters

Parameters Description
FileName: string The name of an executable file, DLL, or icon file.
Index: Integer The zero-based index of the icon to retrieve. For example, if this value is 0, the function returns a handle to the first icon in the specified file.

run\JvWinDialogs.pas


Description

ExtractIconFromFile is a wrapper for the ExtractIcon API. Use it to retrieve a handle to an icon from the specified executable file, dynamic-link library (DLL), or icon file.

run\JvWinDialogs.pas


About

Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page