Share via


COccManager::IsLabelControl

Call this function to determine if the specified control is a label control.

static BOOL AFX_CDECL IsLabelControl( 
   CWnd* pWnd  
); 
static BOOL AFX_CDECL IsLabelControl( 
   COleControlSiteOrWnd* pWnd 
);

Parameters

  • pWnd
    A pointer to the window containing the control.

Return Value

Nonzero if the control is a label; otherwise zero

Remarks

A label control is one that acts like a label for whatever control is next in the ordering.

Requirements

Header: afxocc.h

See Also

Reference

COccManager Class

Hierarchy Chart

OLEMISC