What should we do with a "Display of data source" menu for making it inactive?
What should we do with a "Display of data source" menu for making it inactive?
In Visual Studio 2005, if COBOL Project is created or opened,
how to make a "Display of data source" menu inactive
What should we do with a "Display of data source" menu for making it inactive?
Wobba
Shinya,
Thank you for the question on how to deactivate the "Display Data Source" command.
I assume you are creating the COBOL project system. If you are not creating the project system yourself (with your own code) then there is little you can do as a user.
As a project system owner, you can indicate in your CTC file that you handle the command. Then in your IOleCommandTarget implementation you can look for and always disable the command. You can even control the commands visibility so users don't see the command at all. This is very similar to a project system handling commands like "Build", "Deploy", or "Launch under the debugger".
I hope this helps to get your project moving forward.
Ram Chenna
It turns out that a CTC file is used.
I want you to teach a method a little more concretely.
On the other hand, in order to support the display of a data source, what should it carry out
I want to determine which it is made after checking two methods.
Best Regards.