CWnd::FindWindow

Call this member function to retrieve the top-level CWnd whose window class is given by lpszClassName and whose window name, or title, is given by lpszWindowName.

Syntax

static CWnd* PASCAL FindWindow( LPCTSTR lpszClassName, LPCTSTR lpszWindowName );

At a Glance

Header File Afxwin.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

See Also

CWnd Overview, CWnd Member Functions, Window Class Categories