|
I'm not understanding what you are asking, exactly.
Do you want to write an addin that will enable or disable some menu items whenever some other addin is loaded or unloaded?
I used WAM_GETCURRENTPROJECTINFO for both projects that were started with a command line or not and it seems to work.
I do a: Invoke SendMessage,hMain,WAM_GETCURRENTPROJECTINFO,ADDR CurrentProject,0 and it fills a CURRENTPROJECTINFO structure with information.
What were you wanting to do again?
|