size : 188
uploaded_on : Fri Feb 11 12:09:37 2000
modified_on : Fri Feb 11 12:09:37 2000
title : Load bitmap from file
org_filename : D:\Upload\LoadBitmapFromFile.txt
author : Ulli Conrad
authoremail : uconrad@gmx.net
description : How to load a bitmap from a file and get a handle to it
keywords : LoadImage
tested : D3
submitted_by : The CKB Crew
submitted_by_email : ckb@netalive.org
uploaded_by : ulli
modified_by : ulli
owner : ulli
lang : Delphi
file-type : text/plain
category : delphi_graphics
__END_OF_HEADER__
{ How to load a bitmap from a file and get a handle to it }
function LoadBitmapFile(FileName: pChar): HBitmap;
begin
Result:=LoadImage(0,FileName,IMAGE_BITMAP,0,0,LR_LOADFROMFILE);
end;