win32gui.GetObject
object = GetObject(handle)
Returns a struct containing the parameters used to create a GDI object
Parameters
Comments
The result depends on the type of the handle.
Object type as determined by win32gui::GetObjectType | Returned object |
OBJ_FONT | PyLOGFONT |
OBJ_BITMAP | PyBITMAP |
OBJ_PEN | Dict representing a LOGPEN struct |