|
Overview |
|
|
|
Group |
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| Yes
| Win32s
| No
| Import Library
| user32.lib
| Header File
| winuser.h
| Unicode
| No
| Platform Notes
| None
|
|
|
MenuItemFromPoint
[Now Supported on Windows NT]
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.
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.
See Also
POINT
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
More Online Helps
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|