Is there a way to get the Title of the Dialog after is was created?
I want to use this to do some if-selections with the title.
For example:
if(title == "create") do this
if(title == "edit") do that
Michael
Well, this does not sound as a good idea to me at all, but if you insist, you can use GetTitle method (just beware, it returns WString - you can convert back to String by calling ToString - dlg.GetTitle().ToString()).
The correct solution would be either to use virtual methods, or some int member variable with enum (depends on situation).