Help Center

CToolbar.InsertMarkHitTestmethod

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

WindowsmethodCToolbar.incdocumented

Syntax

FUNCTION InsertMarkHitTest (BYVAL hToolbar AS HWND, BYVAL ppt AS POINT PTR, BYVAL ptbim AS TBINSERTMARK PTR) AS BOOLEAN
FUNCTION InsertMarkHitTest (BYVAL hToolbar AS HWND, BYREF pt AS POINT, BYVAL tbim AS TBINSERTMARK) AS BOOLEAN

Parameters

NameDescription
hToolbarHandle to the toolbar control.
pptPointer to a POINT structure that contains the hit test coordinates, relative to the client area of the toolbar.
ptA POINT structure that contains the hit test coordinates, relative to the client area of the toolbar.
ptbimPointer to a TBINSERTMARK structure that receives the insertion mark information.
tbimA TBINSERTMARK structure that receives the insertion mark information.

Return value

Returns nonzero if the point is an insertion mark, or zero otherwise.

Description

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

Reference

  • Include file CToolbar.inc
  • Defined in AfxNova/CToolbar.inc:840
  • Documented in Windows/WIndows Controls/CToolbar Class.md
  • Topic: CToolbar Class