Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FiveWin 1.9.2 - January 97 - readbitmap() reads a bitmap from disk http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 ReadBitmap()           Reads a bitmap from disk
--------------------------------------------------------------------------------

   Syntax:              ReadBitmap( [<hDC>], <cBmpFile> )  --> <hBitmap>

   Parameters:

   <hDC>                Is the handle of the device context to be used with
                        that bitmap. You should supply 0 is no hDC is available.

   <cBmpFile>           Is the name of the .BMP file in the disk.

   Returns:

   <hBitmap>            Is a bitmap handle.

   Observations:        This function is very usefull to dynamically load
                        bitmaps from disk. It lets the user of our application
                        supply new BMPs with photos, drawings, etc...

   Sample:              SAMPLES\\FwBrow.prg

   Source code:         SOURCE\\WINAPI\\BmpRead.c

   See also:            LoadBitmap() PalBmpDraw()


Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson