简体   繁体   中英

Embedding MFC Dialog in MMC SnapIn

I created a few dialogs in MFC that are spawned from an MMC SnapIn. After review, I was told that it'd be better design to embed the dialogs in the SnapIn (in the Result Pane as a custom view).

The issue is that I have no idea how to do this: I'm guessing I have to create a COM interface that acts as a sink for the COM events that the MMC generates when the user interacts with the MMC, and that I have to translate those events to the Windows Messages that the dialogs expect.

I have no idea if this is even right, could somebody point me in the right direction?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM