Click here to Skip to main content
15,879,096 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I created a dialog mfc Project in vs 2008 (vc++) I added some controls but when I right click on the edit BOX the option add variable is disabled and when I double click on a button doesn't show the event 'onclick'of the button to add code also on the PROPERTIES BOX the events of the control (button) are missing, used mfc as shared dll, dialog based and standart mfc, any help?
Richard MacCutchan 11-Dec-14 4:20am    
Do you mean when you run your program, or is this something that happens when you are using Visual Studio? It is reasonably important to understand the difference.
Member 3892343 11-Dec-14 4:27am    
in the designe time in vs when I try to add an event to button or add var to edit BOX, I use vs 2008 sp1. When i try to code.
Richard MacCutchan 11-Dec-14 13:15pm    
Sorry, but it's impossible to guess what may be wrong. I suggest you try deleting the class wizard file and then rebuilding the project to see if that clears it.
Member 11291794 11-Dec-14 19:07pm    
Hi, didn't you modify something in your dialog class, ie ID of dialog?

1 solution

Sorry for the delay I started a NEW Project and worked correct.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900