A query

Home Forums C++ Programming A query

This topic contains 0 replies, has 1 voice, and was last updated by  senwares 14 years, 7 months ago.

  • Author
  • #1898


    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.

You must be logged in to reply to this topic.