Call this member function to retrieve a pointer to a CWnd object when you have a handle to a window.
static CWnd* PASCAL FromHandle( HWND hWnd );
| Header File | Afxwin.h |
| Platforms | |
| Versions | 1.0 and later |
| Complete documentation | Visual C++ documentation |
CWnd Overview, CWnd Member Functions, Window Class Categories, CWnd::DeleteTempMap