Results 1 to 2 of 2

Thread: help for MenuItemFromPoint API Function Please...

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2001
    Posts
    2

    help for MenuItemFromPoint API Function Please...

    i want help for this function soon

  2. #2
    Frenzied Member Vlatko's Avatar
    Join Date
    Aug 2000
    Location
    Skopje, Macedonia
    Posts
    1,409
    MenuItemFromPoint
    The MenuItemFromPoint function determines which menu item, if any, is at the specified location.

    UINT WINAPI MenuItemFromPoint(
    HWND hWnd,
    HMENU hMenu,
    POINT ptScreen
    );

    Parameters
    hWnd
    Handle to the window containing the menu.
    Windows NT 5.0 and Windows 98: If this value is NULL and the hMenu parameter represents a popup menu, the function will find the menu window.

    hMenu
    Handle to the menu containing the menu items to hit test.
    ptScreen
    POINT structure specifying the location to test. If hMenu specifies a menu bar, this parameter is in window coordinates. Otherwise, it is in client coordinates.
    Return Values
    Returns the zero-based position of the menu item at the specified location or –1 if no menu item is at the specified location.
    I am become death, the destroyer of worlds.
    mail:[email protected]

    • Visual Basic 6.0 & .NET
    • Visual C++ 6.0 & .NET
    • ASP
    • LISP
    • PROLOG
    • C
    • Pascal

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width