Article View: borland.public.delphi.nativeapi
Article #116Programming the shell (explorer context menus)
From: Christian Aymon
Date: Tue, 20 Jan 2004 16:28
Date: Tue, 20 Jan 2004 16:28
14 lines
1381 bytes
1381 bytes
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
Technical Details
Message-ID:
<400d5619$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f94dd,e7e08aa622976392,start X-Google-Attributes: gidf94dd,public X-Google-ArrivalTime: 2004-01-20 08:40:47 PST From: "Christian Aymon" <www.cyamon.com> Newsgroups: borland.public.delphi.nativeapi Subject: Programming the shell (explorer context menus) Date: Tue, 20 Jan 2004 17:28:04 +0100 Lines: 16 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 81.62.248.68 Message-ID: <400d5619$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1074615833 81.62.248.68 (20 Jan 2004 08:23:53 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail