共用方式為


CWnd::operator ==

Compares two CWnd objects to determine if they have the same m_hWnd.

BOOL operator==(
   const CWnd& wnd 
) const;

Parameters

  • wnd
    A reference to a CWnd object.

Return Value

Nonzero if equal; otherwise 0.

Requirements

Header: afxwin.h

See Also

Reference

CWnd Class

Hierarchy Chart

CWnd::operator !=

Concepts

CWnd Members