AfxIsExtendedFrameClass

 

Determines whether the given window is an extended frame object.

Syntax

BOOL AFXAPI AfxIsExtendedFrameClass(
   CWnd* pWnd
);

Parameters

  • [in] pWnd
    A pointer to an object that is derived from CWnd.

Return Value

TRUE if the provided window is an extended frame object; otherwise FALSE.

Remarks

This method returns TRUE if pWnd derives from one of the following classes:

  • CFrameWndEx

  • CMDIFrameWndEx

  • COleIPFrameWndEx

  • COleDocIPFrameWndEx

  • CMDIChildWndEx

This method is useful when you have to validate that a function or method parameter is an extended frame window.

Requirements

Header: afxpriv.h

See Also

Macros, Global Functions, and Global Variables
CWnd Class
CFrameWndEx Class
CMDIFrameWndEx Class
COleIPFrameWndEx Class
7aff0da4-5d6c-4b2e-8355-ad785719319b
CMDIChildWndEx Class