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
- Next message: on: "Re: windowborders"
- Previous message: David Martin: "How do I control the BG color of a disabled CRichEditCtrl object"
- In reply to: Leo: "Can't get menu items from IE or Explorer (GetMenuItemCount returns"
- Next in thread: Leo: "Can't get menu items from IE or Explorer (GetMenuItemCount returns"
- Reply: Leo: "Can't get menu items from IE or Explorer (GetMenuItemCount returns"
- Messages sorted by: [ date ] [ thread ]
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/
- Next message: on: "Re: windowborders"
- Previous message: David Martin: "How do I control the BG color of a disabled CRichEditCtrl object"
- In reply to: Leo: "Can't get menu items from IE or Explorer (GetMenuItemCount returns"
- Next in thread: Leo: "Can't get menu items from IE or Explorer (GetMenuItemCount returns"
- Reply: Leo: "Can't get menu items from IE or Explorer (GetMenuItemCount returns"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|