13.07.2015 Views

REFERENCE GUIDE

REFERENCE GUIDE

REFERENCE GUIDE

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

GefSfockObjecfReturn valueCommentsSYSTEM_FIXED_FONTDEFAULT_PALETTEthe system font is proportionalwidth; earlier versions ofWindows use a fixed-widthsystem font.The fixed-width system fontused in earlier versions ofWindows. This stock object isavailable for compatibilitypurposes.Default color palette. Thispalette consists of the 20 staticcolors always present in thesystem palette for matchingcolors in the logical palettes ofbackground windows.The return value identifies the desired logical object if the function issuccessful. Otherwise, it is NULL.The DKGRAY_BRUSH, GRAY_BRUSH, and LTGRAY_BRUSH objectsshould not be used as background brushes or for any other purpose in awindow whose class does not specify CS_HREDRAW andCS_ VREDRAW styles. Using a gray stock brush in such windows can leadto misalignment of brush patterns after a window is moved or sized.Stock-brush origins cannot be adjusted (for more information, see theSetBrushOrg function, later in this chapter).GetStretchBltModeSyntaxint GetStretchBltMode(hDC)function GetStretchBltMode(DC: HOC): Integer;This function retrieves the current stretching mode. The stretching modedefines how information is to be added or removed from bitmaps that arestretched or compressed by using the Stretch Bit function.Parameters hDC HOC Identifies the device context.Return valueThe return value specifies the current stretching mode. It can beWHITEONBLACK, BLACKONWHITE, or COLORONCOLOR. For moreinformation, see the SetStretchBltMode function, later in this chapter.344 Software development kit

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

Saved successfully!

Ooh no, something went wrong!