Context menu implementation details

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
richie
Junior Member
Junior Member
Posts: 2
Joined: 2004-05-02, 09:25 UTC

Context menu implementation details

Post by *richie »

Hello Mr. Ghisler,

recently I tried to open the context menu in a small application myself. I'm really no win32 API expert (I even don't want to be one), but it's hard. Somehow Total Commander can open even context menu's for files in different locations: Search -> Feed to listbox

Great! Thank you! ***Admireing your skills*** :D

Can you tell me how you did it? I used following sources to start with:
http://www.codeproject.com/shell/shellcontextmenu.asp
But it runs only on Windows 2K/XP/2003 and works only for files in the same directory. (The example is nevertheless very useful...)

PS: My small application is only intended to open the context menu from Eclipse directly. I hope to put it online soon.

PPS: There was alread a discussion about context menu implementation:
http://www.ghisler.ch/board/viewtopic.php?t=661&postdays=0&postorder=asc&start=15
User avatar
SanskritFritz
Power Member
Power Member
Posts: 3693
Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary

Post by *SanskritFritz »

This may not exactly what you want, but might worth try:
http://www.cognitive-software.com/Downloads/ContextAware.zip
It is a scriptable context menu extension capable to bind in any program into the context menu. The point is, it hides all programming difficulties from you allowing to concentrate on what you want to do. This imposes of course some limitations. Check it out.
I switched to Linux, bye and thanks for all the fish!
richie
Junior Member
Junior Member
Posts: 2
Joined: 2004-05-02, 09:25 UTC

Post by *richie »

SanskritFritz wrote:This may not exactly what you want, but might worth try:
http://www.cognitive-software.com/Downloads/ContextAware.zip
It is a scriptable context menu extension capable to bind in any program into the context menu. The point is, it hides all programming difficulties from you allowing to concentrate on what you want to do. This imposes of course some limitations. Check it out.
You're right, not exactly what I want, but a good example that it is easier to extend the context menu than to learn how to write plugins for application 1, 2, 3, ... Thanks anyway.

BTW: My Eclipse plugin is online:
http://www.geocities.com/richard_hoefter/ContextMenuPlugin/
Post Reply