<< Click to Display Table of Contents >> Navigation: ThinBASIC Modules > UI (User Interface) > Windows API > Win_SelectObject |
Description
Selects an object into the specified device context (DC). The new object replaces the previous object of the same type.
Syntax
n = Win_SelectObject(hDC, hGraphicObj)
Returns
Number, handle to the object being replaced
Parameters
Name |
Type |
Optional |
Meaning |
hDC |
Number |
No |
Device context handle |
hGraphicObj |
Number |
No |
A handle to the object to be selected |
Remarks
For additional info, please refer to MS documentation at: https://docs.microsoft.com/en-us/windows/win32/api/wingdi/nf-wingdi-selectobject
Restrictions
See also
Examples