- This topic has 0 replies, 1 voice, and was last updated 19 years, 8 months ago by .
Viewing 0 reply threads
Viewing 0 reply threads
- The forum ‘C++ Programming’ is closed to new topics and replies.
Home › Forums › C++ Programming › A query
Hi
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.
Thanks alot.