ENUM {IDD = IDD

xiaoxiao2021-04-07  309

Depressed, depressed.

Today open a previous small project, compiling Error C2065: 'IDD_DIALOG_MAIN': undeclared Identifier error. Try the name of the changing dialog box, can't do it in resource.h.

Just check the ID name of the changing the main dialog box on the Internet will also cause the following files to modify:

1. Modification of the dialog box name in RESOURCE.H

.2.enum {IDD = IDD_DIALOG_MAIN} Modification of the dialog name in the dialog box

3. Modification of the response identifier in dSW project file.

Then add resource.h, build, ok in the CPP file of the dialog!

转载请注明原文地址:https://www.9cbs.com/read-132589.html

New Post(0)