When you use CreateWindow, you get a pointer to a CREATESTRUCT in WM_CREATE.
When you use CreateDialogParam on a modal dialog, you get the dwInitParam in lParam in WM_INITDIALOG.

My question is, when you use CreateDialogParam on a modaless dialog that youve already created a class for, how do you get the initialization value (the last parameter in CreateDialogParam)? There is no WM_INITDIALOG message on this kind of dialog. And the CREATESTRUCT doesnt seem to hold the correct values.
Posted on 2002-03-10 01:57:51 by ChimpFace9000