This is an excellent example. But it fails to work if the dialog has an Active X control on it. See MSDN Knowledge Base article Q231591, "HOWTO: Use a Dialog Template to Create a MFC Dialog with an ActiveX Control."
This is a great class and solves all my problems, except that the combo boxes are empty. I am going to try cutting and pasting from CDialog::DoModal() to solve the problem... anyone else go through this yet?
I write an SDI application which calls Access database
I want some "statics" be in large size and some in small
and print this current page wich shows only one personal data.
Is it possible? If it is then could you help with that
Ok, I've been playing with Dialogs now and I the following problem. I want to have a dialog, but I want it in the main window only. I don't to make a modal dialog and have that as the main dialog. I know how to make a window in a dynamic dialog. CreateWindow("BUTTON"... and all that, but it looks like I'm running 3.1 (I'm running 2000 currently). Then if I run it under XP, it looks like it should. Is this a problem with the standard API functions or is there something that I can do to change it? I want it to look like the standard button types, edit controls, and all that.