Raj,
Well, I'm certainly not going to tell you how you can inject menus on MY
pc =)
Generally though, it depends on the software. You can make a call to
the GetMenu API function through the P/Invoke layer, passing the handle of
the window you want to get the menu for.
This is only for applications which use the general menu system in
windows. Applications like office have a completely different structure,
and it is very possible that other applications have their own menu system.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Raj Chudasama" <raj@asteriasgi_spamkiller.com> wrote in message
news:ej**************@TK2MSFTNGP09.phx.gbl...
i want to learn to add a custom menu to any exisisting software on your pc.
And beable to use the menu to lets say pop up a window or soemthing. I
think was called subclassing.
What api do i need to know? how can i do this?
thanks