Author
Message
Forum: Chitchat Topic: creating a full context menu/QueryContextMenu()
codenotes
Posted: Sat Apr 25, 2015 8:26 am
Replies: 7 Views: 25324
Yeah, I will really go through MenuCommands and see if I can isolate anything. I bet it has to do with the PIDL or object. I am starting from a string filename, getting the PIDL, using SHParseDisplayName, and then pulling up a context on that. I bet that that PIDL is somehow different (relative vs a...
Forum: Chitchat Topic: creating a full context menu/QueryContextMenu()
codenotes
Posted: Sat Apr 25, 2015 8:02 am
Replies: 7 Views: 25324
Initializing COM with CoInitialize(0); Not good? Interesting behavior when I play around there, though...If I call CoInitializeEx(0, COINIT_MULTITHREADED) instead of APARTMENT, one of the menu items (a third party one) doesn't appear. So Maybe it has something to do with COM initialization...but the...
Forum: Chitchat Topic: creating a full context menu/QueryContextMenu()
codenotes
Posted: Sat Apr 25, 2015 8:00 am
Replies: 7 Views: 25324
I'd add that Raymond Chen's blog (that you link to) is the original source I am using. That also brings up just the truncated menu. I've been back and forth through his 11 part tutorial. I think what is happening is that I am supposed to "compose" the different menus together, ie, cocreate...
Forum: Chitchat Topic: creating a full context menu/QueryContextMenu()
codenotes
Posted: Sat Apr 25, 2015 7:55 am
Replies: 7 Views: 25324
Yeah, count is returning 10 items, I actually have 11 on the menu (perhaps one of the items is special, maybe "properties"). I have about 3 or 4 different implementations of this menu code from different open source projects, tutorials, etc. And most these are using IContextMenu3 and 4 as ...
Forum: Chitchat Topic: creating a full context menu/QueryContextMenu()
codenotes
Posted: Sat Apr 25, 2015 6:57 am
Replies: 7 Views: 25324
I am a big fan of classic shell; I am developing a tool and am trying to replicate a little of what classic shell is able to do via right-click context menus. (Specifically, I am merging dnGrep with VoidSoft's "Everything" instant hard drive search.) Have spent a few days reading and resea...
Sort by: Author Post time Forum Topic title Post subject Ascending Descending