Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Guide to Clip-4-Win version 3.0 - <b>getdibrect()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
GetDIBRect()
Return the  co-ordinates of a device-independent bitmap
------------------------------------------------------------------------------

Syntax
GetDIBRect( <cDIB> )   -->   aRect

Arguments
<cDIB> is a device-independent bitmap.

Returns
An array  { <nLeft>, <nTop>, <nRight>, <nBottom> } giving the
co-ordinates of the bitmap.  Note: the order of these co-
ordinates may not be what you expect.

Description
This function returns the co-ordinates of a bitmap.

The <nLeft> and <nTop> values are always zero (0).

Example
cDIB := ReadDIB( "clip4win.bmp" )
aDIBRect := GetDIBRect( cDIB )
aClientRect := GetClientRect( hWnd )


See Also: ReadDIB() ShowDIB()

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