Hello,
Is there any way to clear the dialog completely, i.e. to clear all its fields (set them like they were when I've opened the dialog), instead of doing it manually for each control?
Printable View
Hello,
Is there any way to clear the dialog completely, i.e. to clear all its fields (set them like they were when I've opened the dialog), instead of doing it manually for each control?
what you means if you want to clear all the field on some button click then in Button click use the Handle of your all control Present on Dialog and initialize them .Like if some edit control Then you can use SetWindowText("") with the handle of your edit control same you can do with all comtrols. but remember you have to do all of these things manually.
Thanx
You could move the member variable initialization from the constructor into a seperate function, call it followed by UpdateData(FALSE).