| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | Newsletters | VB Forums | Developer.com |
|
|||||||
| Managed C++ and C++/CLI Discuss Managed C++ and .NET-specific questions related to C++. |
![]() |
|
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
why control ID is not updated?
I am developing a dialog form application, I have did many times , and anyting is going well. right now, I face a rare problem, when I add control to the dialog form, I change the ID name in the properity and I did not see update when I try to add variable to the control, I do not know what setting might cause this problem. even without changing the ID, I still could not see the default ID, except the IDOK, IDCANCLE, and 1001 (which I thing this is the ID number which I did not like, has no meaning).
please help me to find out how to let the program automatically updated the ID, so that I can add variable or event easily. |
|
#2
|
||||
|
||||
|
Quote:
You change your dialog name to IDD_MYDIALOG then you canot add variables because you changed your dialog ID. You have to change(to set in your header file your dialog ID in ex.CYourDialog.h at the data dialog ex: enum { IDD = IDD_YOURDIALOG}; //find this and set your current dialog Maybe this is the problem! |
![]() |
| Bookmarks |
|
||||||
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|