Share via


CToolBarCtrl::InsertMarkHitTest

Retrieves the insertion mark information for a point in a toolbar.

BOOL InsertMarkHitTest(
   LPPOINT ppt,
   LPTBINSERTMARK ptbim 
) const;

Parameters

  • ppt
    A pointer to a POINT structure that contains the hit test coordinates, relative to the client area of the toolbar.

  • ptbim
    A pointer to a TBINSERTMARK structure that receives the insertion mark information.

Return Value

Nonzero if successful; otherwise zero.

Remarks

This member function implements the behavior of the Win32 message TB_INSERTMARKHITTEST, as described in the Windows SDK.

Requirements

Header: afxcmn.h

See Also

Reference

CToolBarCtrl Class

Hierarchy Chart

CToolBarCtrl::GetInsertMark

CToolBarCtrl::SetInsertMark

Other Resources

CToolBarCtrl Members