Search code examples
c++visual-studio-2008cdialog

c++ CDialog ID change


I have a CDialog class and i need it to be called by a sum of other classes, at the same time. This should work from what i understand, but it would be the same instance of the Dialog, and i need as many different instances as calling classes. Is this possible?


Solution

  • Each dialog window displayed on the screen simultaneously must have a different CDialog derived object associated with it. They may all be the same class, with the same resource ID, but they must be different objects.