KM
May 21st, 1999, 08:46 AM
Hi there gurus,
Can someone please help me with the following problem.
I have created several dialogs.
Classes : CMyDlg1, CMyDlg2, CMyDlg3.......and so on.
In my program, I have to call a procedure which will start up one of these
dialogs, and I do not know before hand which dialog I will draw until runtime, and depending on the data decode.
The problem is in the procedure declaration----
void DrawDialog(int x, char y, "DialogToBeDrawn")
What should be the data type in "DialogToBeDrawn" ?
I have tried CDialog but that did not work.
Please help.
Thanks in advance.
Can someone please help me with the following problem.
I have created several dialogs.
Classes : CMyDlg1, CMyDlg2, CMyDlg3.......and so on.
In my program, I have to call a procedure which will start up one of these
dialogs, and I do not know before hand which dialog I will draw until runtime, and depending on the data decode.
The problem is in the procedure declaration----
void DrawDialog(int x, char y, "DialogToBeDrawn")
What should be the data type in "DialogToBeDrawn" ?
I have tried CDialog but that did not work.
Please help.
Thanks in advance.