win32gui.GetObject

object = GetObject(handle)

Returns a struct containing the parameters used to create a GDI object

Parameters

handle : PyHANDLE

Handle to the object.

Comments

The result depends on the type of the handle.

Object type as determined by win32gui::GetObjectType Returned object


OBJ_FONTPyLOGFONT
OBJ_BITMAPPyBITMAP
OBJ_PENDict representing a LOGPEN struct