13.07.2015 Views

REFERENCE GUIDE

REFERENCE GUIDE

REFERENCE GUIDE

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

GetBkModeReturn valueThe return value specifies the current background mode. It can beOP AQUE or TRANSPARENT.GetBrushOrgSyntaxDWORD GetBrushOrg(hDC)function GetBrushOrg(DC: HDC): Longint;This function retrieves the current brush origin for the given devicecontext.Parameters hDC H DC Identifies the device context.Return value The return value specifies the current origin of the brush. The x­coordinate is in the low word, and the y-coordinate is in the high word.The coordinates are assumed to be in device units.Comments The initial brush origin is at the coordinate (0,0).GetBValueSyntaxBYTE GetBValue(rgbColor)function GetBValue(RGBColor: Longint): Byte;This macro extracts the blue value from an RGB color value.Parameters rgbColor DWORD Specifies a red, a green, and a blue color field, eachspecifying the intensity of the given color.Return valueCommentsThe return value specifies a byte that contains the blue value of thergbColor parameter.The value OFFH corresponds to the maximum intensity value for a singlebyte; OOOH corresponds to the minimum intensity value for a single byte.GetCaptureSyntax HWND GetCapture( )function GetCapture: HWnd;This function retrieves a handle that identifies the window that has themouse capture. Only one window has the mouse capture at any giventime; this window receives mouse input whether or not the cursor iswithin its borders.290Software development kit

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!