ClassWizard does not properly display the reasons for the control ID after ClassWizard after changing the dialog resource ID num

xiaoxiao2021-03-13  179

I have a problem with the VC6 write dialog box:

Use the VC6 to generate dialog projects, open ClassWizard, and should display the ID number "IDOK" and "Idcancel" of "OK" and "Cancel" and "Cancel". Because I need, I change the resource ID of the dialog from the original "IDD_MY123_DIALOG" to "IDD_MY123_DIALOG123", and now I will enter ClassWizard now, I found "iDok" and "iDCancel" no.

After the study, the control ID on the dialog cannot be displayed normally in ClassWizard as long as the ID name is imported.

Workaround: Open the C * DLG.h file, find "Enum {IDD = IDD_MY123_DIALOG};" this statement, change "IDD_MY123_DIALOG" to "Idd_MY123_Dialog123".

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

New Post(0)