Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在创建新的 Visual Studio 2012 扩展,我创建了一个菜单命令,我希望它在单击它时显示一个自定义窗口,我正在使用 C++,但我不知道如何触发窗口显示,可以你帮忙 ?
通过调用解决了它
void OnMyCommand(CommandHandler* /*pSender*/, DWORD /*flags*/, VARIANT* /*pIn*/, VARIANT* /*pOut*/) { m_MyToolWindow.CreateAndShow(); }