This method obtains a pointer to a CGdiObject object given a handle to a Windows CE GDI object. If a CGdiObject object is not already attached to the Windows CE GDI object, a temporary CGdiObject object is created and attached.
| Header file: | Afxwin.h |
| Platforms: | H/PC 2.0, Palm-size PC, H/PC Pro |
| Windows CE versions: | 1.0 and later |
| Complete documentation: | Visual C++ documentation |
static CGdiObject* PASCAL FromHandle( HGDIOBJ hObject );