Strange behaviour of close button
-
Hi all, I have an application that shows a dialog with a listview control. I added a "Print" button to this dialog (with ID "IDC_PRINT"). Now, all of a sudden, the close button (the cross in the top-right corner) acts as if this print button has been pressed rather than closing the dialog. How do I get things right again? Thanks in advance for any advice, William
-
Hi all, I have an application that shows a dialog with a listview control. I added a "Print" button to this dialog (with ID "IDC_PRINT"). Now, all of a sudden, the close button (the cross in the top-right corner) acts as if this print button has been pressed rather than closing the dialog. How do I get things right again? Thanks in advance for any advice, William
Hi again, Sorry, I should have investigated further. For some reason, Studio decided to define IDC_PRINT with a value of 2 rather than to add it into the normal sequence of IDC values. After doing so manually, things are in order again. Regards, William
-
Hi again, Sorry, I should have investigated further. For some reason, Studio decided to define IDC_PRINT with a value of 2 rather than to add it into the normal sequence of IDC values. After doing so manually, things are in order again. Regards, William
Now whats problem?
_**
**_
WhiteSky