Re: Programming the shell (explorer context menus)

From: Aleksandr Tischenko (alext_at_shellplus.com)
Date: 01/20/04


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
>
>


Relevant Pages

  • Re: How do I request mail merge data?
    ... A better option would be to create a template with a combobox or listbox to display the data and from which you can select the record that you want and then click on a button to transfer that data into the document created from the template. ... and the following pages of fellow MVP Greg Maxey's website: ... how do I request the data from the spreadsheet I used as the data ...
    (microsoft.public.word.mailmerge.fields)
  • Re: Display "waiting" pages while long running operations complete
    ... You could definitely achieve some thing like this using AJAX, ... server's busy working on their request. ... As it says in the title, I'm looking for a way to display a page while ... That "waiting" page would periodically poll to see if the main ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Unclear Error Code
    ... Mouseout to erase the text display. ... var AsyncRequest; // XHLHttpRequest object ... // Attempt to create the XMLHttpRequest and make the request. ...
    (comp.lang.javascript)
  • AJAX Issue
    ... I am using AJAX XMLhttprequest to request another page on form submit ... // Display results in a full window for server-side errors ... // If pop-up gets blocked, ...
    (comp.lang.javascript)
  • Re: Handling requests that have a long response time
    ... > and display the results. ... > a) Redirect to a new "Please wait" page till the processing is done, ... > b) Display a "Please wait" message on the same page that sends the request ... > to the server and refresh the page to display the results. ...
    (microsoft.public.dotnet.framework.aspnet)