This is my post on this forum. My question is this that I want to create a modal dialog box say CMyDlg which is created by driving from CDialog class and I want to create it in other callback function. This callback function is also for another dialog which I created through CreateDialog() function. I can’t create CMyDlg using
Dialogbox() function because this function requires a callback function which I don’t need to write because all the messages are handled by CMyDlg driven through CDialog. And when I use Create() function to create the CMyDlg dialog my application terminates.
I hope you people can understand my problem and can suggest me a solution.