BCGControlBar Pro for MFC
MENUAREA_TYPE CBCGPPopupMenu::CheckArea ( const CPoint &  ptScreen) const

Determines which popup menu item is at a specified position.

Returns

One of the MENUAREA_TYPE enumerated values that describes a hit test information:

  • OUTSIDE - the position is outside the menu area.
  • LOGO - the position is over a logo area.
  • TEAROFF_CAPTION - the position is over the tear-off caption.
  • SHADOW_BOTTOM - the position is over shadow to the bottom of the menu area.
  • SHADOW_RIGHT - the position is over shadow to the right of the menu area.
  • MENU - the position is over a menu item.
Parameters
ptScreenPoint to be tested in screen coordinates.