Contents
|
Python for Win32 Extensions Help
>
Win32 API
>
Modules
>
win32gui
>
GetCurrentObject
win32gui
.GetCurrentObject
PyHANDLE
=
GetCurrentObject(
hdc
, ObjectType
)
Retrieves currently selected object from a DC
Parameters
hdc
:
PyHANDLE
Handle to a device context
ObjectType
: int
Type of object to retrieve, one of win32con.OBJ_*;