StefanoCarniel
Programmer
I developed an application with a menu that open a dialog box. In this dialog box, the user should set some parameters and then click the usual ok button.
When this button is clicked, the application should return in the mainframe and do the following sequence:
1. Create a string
2. Create a dockable CEdit control on the right to write in the operation (such a log window)
3. Create a progress bar in the status bar and go on with the computation. During the growth of the progress bar, the application should log the operations in the CEdit control.
I manage all this sending a message from the dialog to the mainframe using postmessage and developing the message handler. The problem is that the application create the CEdit control after the computation loop that increase the progress bar and at the end I can see in the CEdit only the last message and not the entire log. I tried with recalclayout, invalidaterect and so on but nothing happened. Could someone help me, please?
Thank you.
When this button is clicked, the application should return in the mainframe and do the following sequence:
1. Create a string
2. Create a dockable CEdit control on the right to write in the operation (such a log window)
3. Create a progress bar in the status bar and go on with the computation. During the growth of the progress bar, the application should log the operations in the CEdit control.
I manage all this sending a message from the dialog to the mainframe using postmessage and developing the message handler. The problem is that the application create the CEdit control after the computation loop that increase the progress bar and at the end I can see in the CEdit only the last message and not the entire log. I tried with recalclayout, invalidaterect and so on but nothing happened. Could someone help me, please?
Thank you.