Click here to Skip to main content
15,903,175 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I want to make an interactive and dynamic question-answer dialog with mfc. So far I have a window with a button that initializes the dialog. For each question I generate a CTaskDialog Object. Now the question is: how can I change the position of that taskdialog? When I use MoveWindow() in the OnInitDialog() function, then only the position of the startwindow will change but not the position of the taskdialogs. Is there something better than CTaskDialog to create dynamic windows where I can change the position?
The_Inventor 17-Feb-14 23:26pm    
You just have to do the same code in your CTaskDlg as you do in your OnInitDialog() for your Initial Dialog.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900