◄CWnd► ◄Up► ◄Contents► ◄Index► ◄Back► ──Microsoft Foundation Classes────────────────────────────────────────────── static CWnd* FromHandle( HWND hWnd ); Parameter Description <hWnd> A HWND of a Windows window. Remarks Returns a pointer to a CWnd object when given a handle to a window. If a CWnd object is not attached to the handle, a temporary CWnd object is created and attached. Return Value The pointer may be temporary, and should not be stored beyond immediate use. See Also ◄CWnd::DeleteTempMap► -♦-