A dialog-based program adds many controls, but cannot establish a corresponding member variable

xiaoxiao2021-03-14  213

This is a problem that I have appeared in the process of using the control. By looking for answers on 9cbs and exploiting themselves, I finally solved!

Create a dialog-based program, add a variety of controls above, but find the corresponding controls in view-> classwizard-> member varibles, you can't add the corresponding member variables for them!

Below is the answer given on 9CBS:

STATIC can only be seen after you change the ID

Radio wants to select Group in the property to see

Later, I found a meeting, I found out the problem of solving the problem:

Put the VC, delete the .clw, .ncb below the project, there is a debug directory, then recompile, then you will prompt the dialog to add a class, or create a new class, then you can use these controls. Add a member variable!

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

New Post(0)