JCL Help:IconToBitmap

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Converts an icon to a bitmap.


Pascal

 function IconToBitmap(Icon: HICON): HBITMAP;


Parameters

Parameters Description
Icon: HICON Icon to convert.


Return Value

Handle to the bitmap or 0 on failure. The caller is responsible for freeing the resources associated with this bitmap by calling DeleteObject.


Description

IconToBitmap converts the specified icon, represented by handle, to a bitmap.


About

Unit

JclGraphics


Donator

Marcel van Brakel


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