This topic has not yet been rated - Rate this topic

AfxIsExtendedFrameClass

Determines whether the given window is an extended frame object.

BOOL AFXAPI AfxIsExtendedFrameClass(
   CWnd* pWnd
);
[in] pWnd

A pointer to an object that is derived from CWnd.

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

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.

Header: afxpriv.h

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ