Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Win 2 API - <b>selectobject</b> select logical (drawing) object http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
SelectObject         Select Logical (Drawing) Object

HANDLE SelectObject(hDC, hObject)
HDC hDC;
HANDLE hObject;

Returns:    Object being replaced.

Note:       hObject is obtained by one of the following:

          Object       Function
        |------------------------------------|
        | Bitmap   CreateBitmap              |
        |          CreateBitmapIndirect      |
        |          CreateCompatibleBitmap    |
        |                                    |
        | Brush    CreateBrushIndirect       |
        |          CreateHatchBrush          |
        |          CreatePatternBrush        |
        |          CreateSolidBrush          |
        |                                    |
        | Font     CreateFont                |
        |          CreateFontIndirect        |
        |                                    |
        | Pen      CreatePen                 |
        |          CreatePenIndirect         |
        |                                    |
        | Region   CombineRgn                |
        |          CreateEllipticRgn         |
        |          CreateEllipticRgnIndirect |
        |          CreatePolygonRgn          |
        |          CreateRectRgn             |
        |          CreateRectRgnIndirect     |
        +------------------------------------+

See Also: DeleteObject

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