Re: Can't get menu items from IE or Explorer (GetMenuItemCount returns

From: Tim Robinson (tim.at.gaat.freeserve.co.uk_at_invalid.com)
Date: 08/30/04


Date: Mon, 30 Aug 2004 21:03:40 +0100

Leo wrote:
[...]
> I've tried this with other apps such as calc, notepad, etc and it
> works fine with these. It only does not work with IE or Windows
> Explorer.
>
> Is there any other way I can access these menu items (and get their
> resource ID)?

Internet Explorer and Windows Explorer do not use standard menus. They use
text-only toolbars. To work with these, you'll need to use the TB_xxx
messages, though to do anything non-trivial (i.e. use a message that passes
or returns a string) you'll need to get your code into IE's or Explorer's
address space.

-- 
Tim Robinson (MVP, Windows SDK)
http://mobius.sourceforge.net/


Relevant Pages