Condividi tramite


CMFCToolBarButton::IsOwnerOf

Determines whether the button is the owner of the provided window handle.

virtual BOOL IsOwnerOf(
   HWND hwnd
);

Parameters

  • [in] hwnd
    A window handle.

Return Value

Nonzero if the button is the owner of the provided window handle; otherwise 0.

Remarks

This method returns nonzero if hwnd either refers to the direct window handle or is a child of the window handle that is associated with the button. This method returns 0 if hwnd is NULL.

Requirements

Header: afxtoolbarbutton.h

See Also

Reference

CMFCToolBarButton Class

Hierarchy Chart