Hi all,
I wrote add-in that can do different job for files with different
extension.
When I do right click on the file I see all my custom menuItems in
context menu of solution explorer for all kind of files .
But I want to see only menuItem that specific for the file selected.
Ok, after I click on one of the menu Item action performs and when I
do right click next time I see only menu Item specific for file
selected e.g. it works as I expected.
I think the problem is in executing QueryStatus method.
When I click first time on file this method is not invoked.
But when I perform menu Item action it is called after Exec method.
After that it is called all the time when I right click the file. So
it works correct.
The question is : How can I force to call QueryStatus when I do right
click on file for the first time?
I gues I have to use some events, but do not know which and how.
I would appreciate any help
Thank you,
Roman