How to invoke a command in a context menu?
-
I am doing secondary programming on a CAD software with its API, and need to execute the command in the context menu of the CAD software programmatically, just like I manully right click a item and select a command. I don't have any clue to do that now, and if it takes too many words to explain, could you please recommend me some material to read.
Thank you very much!!! ------------------- I am learning C++ and English
-
I am doing secondary programming on a CAD software with its API, and need to execute the command in the context menu of the CAD software programmatically, just like I manully right click a item and select a command. I don't have any clue to do that now, and if it takes too many words to explain, could you please recommend me some material to read.
Thank you very much!!! ------------------- I am learning C++ and English
You have to chk that in the CAD api itself to see whether they provide such an extendebility. cheers..Milton KB
-
You have to chk that in the CAD api itself to see whether they provide such an extendebility. cheers..Milton KB
Oh, it turned out to be NO, which is also why I ask question here. Because there is no corresponding API, I hoped I could execute the command in the context menu in program to do the same thing as the user dose in interactive environment.
Thank you very much!!! ------------------- I am learning C++ and English
-
Oh, it turned out to be NO, which is also why I ask question here. Because there is no corresponding API, I hoped I could execute the command in the context menu in program to do the same thing as the user dose in interactive environment.
Thank you very much!!! ------------------- I am learning C++ and English
If the API doesn'tprovide such a functionality, then it is impossible for a user code to inject into another applications binary ( though it is possible to some extent through api hooking and ijecting code, its not that practical). cheers...milton Kb