Re: Programming the shell (explorer context menus)
From: Aleksandr Tischenko (alext_at_shellplus.com)
Date: 01/20/04
- Next message: Maël Hörz: "Re: Delphi 7 Unsafe Code"
- Previous message: Mathias Rauen: "Re: how to intercept print jobs"
- In reply to: Christian Aymon: "Programming the shell (explorer context menus)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 21 Jan 2004 00:27:22 +0200
You would say, that you need to request a background menu?
In this case you should request it through CreateViewObject instead of
GetUIObjectOf.
Then you work with IContextMenu as usually.
-- Best regards, Alex Tischenko alext@shellplus.com Borland Technology Partner, ISDEF member Shell+ Development Group - Make your Shell extensions with ease! http://www.shellplus.com "Christian Aymon" <www.cyamon.com> wrote in message news:400d5619$1@newsgroups.borland.com... > The explorer's right pane displays 2 context menus. The menu ''One'' is > displayed when (at least) an item is selected and the menu ''Two'' > otherwise. > > The menu ''One'' can be displayed using the shell function GetUIObjectOf to > retrieve an IContextMenu interface, then calling QueryContextMenu of this > interface to get an hMenu that can then be used in TrackPopupMenu. > > My question is: how do I (programmtically) select and display the menu > ''Two''? > > Thank you for helping. > > Christian Aymon > >
- Next message: Maël Hörz: "Re: Delphi 7 Unsafe Code"
- Previous message: Mathias Rauen: "Re: how to intercept print jobs"
- In reply to: Christian Aymon: "Programming the shell (explorer context menus)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|