Hello folks, I've done a lot of research on this, but I'm not even sure if this is the correct way to approach the problem I'm encountering...

I have an app that opens a dialog with controls for the user to use, but the content displayed depends on what is inside a dynamically loaded DLL.
So basically depending on the content, I want some common controls on the bottom of the dialog, such as a forward, a reverse, and a Save To disk button that is handled by the application.
Everything above that small area on the bottom I want to let the DLL handle, as the program has no idea how to handle the data.

My thinking was to have a view in the DLL das a method in the DLL can return to the program to show that view inside a CFramwWnd that takes up most of the dialog. Either that or a CSplitterWnd...

I'm not sure though if that is the correct way to approach the problem.
What do you think? I know it is doable somehow, I just don't know if this is a recommended/good way!

Thanks in advance!
-Andy