>I'm trying to call the GetMenuItemId API function. I am
>getting the error:
>
>"Cannot find entry point GetMenuItemId in the DLL"
>
>The code I have is:
>
> DECLARE INTEGER GetMenu IN User32
> INTEGER hwnd
>
> DECLARE INTEGER GetMenuItemId IN User32;
> INTEGER hwnd, INTEGER npos
>
> nMenuHandle = GetMenu(_Vfp.hWnd)
> nItemHandle = GetMenuItemId(nMenuHandle, 1)
>
>>
>The GetMenu is returning a handle, so I think it's working
>ok. I got the function syntax's from Dan Appleman's book
>and they are the same as MSDN.
Kevin,
The declaration is case sensitive. It needs to be GetMenuItemI
D
George
Ubi caritas et amor, deus ibi est