Главная страница | назад





Article #17518: Using the WinApi GetObject to get a bitmap.

 Question and Answer Database
FAQ2518D.txt Using the WinApi GetObject to get a bitmap.
Category :Windows API
Platform :All
Product :All 32 bit
Question:
How to I gain access to the TBitmap types used by the Windows API
function GetObject()?
Answer:
The WinTypes/Windows, and Graphics units have two different
definitions of TBitmap. You can qualify the one you want by prefacing
the unit name like this:
var
AWindowsTBitmap : Windows.TBitmap;
AVclTBitmap : Graphics.TBitmap;
7/16/98 4:31:28 PM

Last Modified: 01-SEP-99