How do I get a Handle to a Windows Associated Menu
Hi all,
How do you get a Handle to the menu on a Form running in a different process
using p/invoke and the Win API.
Unfortunately "HMENU GetMenu(HWND hWnd );" does not seem to be implemented
in Windows Mobile 5.
I have opened "Remote Spy" and I don't see it there.
I think it might have something to do with the class "HHTaskBar" but I am
not sure.
Any ideas welcome?
Thnaks,
ink
.
Relevant Pages
- Re: how to make a vb.net app single instance?
... I placed the Dim and If Then statements in the ... obtain the hwnd value than ExecutingProcesses? ... it from the RunningProcesses var? ... >>>> API or something? ... (microsoft.public.dotnet.languages.vb) - Re: Form Unload
... Try saving the hwnd of the form to a form-level variable, ... in the API call. ... Private Declare Function GetWindowLong Lib "user32" Alias ... :> Are you using a timer for the fade? ... (microsoft.public.vb.controls) - Re: Selecting items in ContextMenu
... "Justin Galzic" wrote in message ... For one other thing, HiliteMenuItem requires> hwnd, a handle to the window that contains the menu as well as hmenu,> a handle to the menu bar that contains the item to be highlighted. ... I also tried to get> hMenu, the handle to the ContextMenu object with call to GetMenu but> this returned a NULL hMenu. ... (microsoft.public.dotnet.framework.windowsforms.controls) - Re: Sendmessage API help
... Do you have a snippet of code as I am not too familar with API. ... I have used SPY++ to try get the hwnd of a text box on a form and it dosent ... I would really apreciate some code that can find all edit controls or Hwnd ... at present to fill in the textboxes with data. ... (microsoft.public.vb.general.discussion) - Re: Context menus
... from the hwnd. ... When I do get the WM_INITMENU message, the hmenu comes ... > SetWindowsHookEx in MSDN. ... > context menu windows have no parents, at least this is my experience) ... (microsoft.public.win32.programmer.ui) |
|