Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

AfxIsMFCToolBar

 

Determines whether the given window is a toolbar object.

BOOL AFXAPI AfxIsMFCToolBar(
   CWnd* pWnd
);

[in] pWnd

A pointer to an object that is derived from CWnd.

TRUE if the provided window is a toolbar object; otherwise FALSE.

This method returns TRUE if pWnd derives from CMFCToolBar. This method is useful when you have to validate that a function or method parameter is a CMFCToolBar object.

Requirements

Header: afxpriv.h

Show: