The way to use DHTML in the VC is the following, which refer to an example to do, learn some code, but when using this function, it will always report the error, no program, but there is no mistake when compiling. I found a day yesterday, I found that I didn't delete it when some buttons in a dialog in the previous definition did not delete it when you define a template. After deleting the relevant information, found that the program can be run, but the corresponding function is running is being forced to close, yesterday, I haven't thought about it, I hope I can debug it today.