Click here to Skip to main content
15,895,792 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Cannot add variables to CDialog class Pin
toxcct10-Feb-06 0:18
toxcct10-Feb-06 0:18 
GeneralRe: Cannot add variables to CDialog class Pin
Kiriko10-Feb-06 0:34
Kiriko10-Feb-06 0:34 
GeneralRe: Cannot add variables to CDialog class Pin
toxcct10-Feb-06 0:38
toxcct10-Feb-06 0:38 
AnswerRe: Cannot add variables to CDialog class Pin
ThatsAlok10-Feb-06 0:38
ThatsAlok10-Feb-06 0:38 
GeneralRe: Cannot add variables to CDialog class Pin
Kiriko10-Feb-06 0:52
Kiriko10-Feb-06 0:52 
GeneralRe: Cannot add variables to CDialog class Pin
Roger Stoltz10-Feb-06 2:12
Roger Stoltz10-Feb-06 2:12 
GeneralRe: Cannot add variables to CDialog class Pin
Kiriko10-Feb-06 2:43
Kiriko10-Feb-06 2:43 
AnswerRe: Cannot add variables to CDialog class Pin
David Crow10-Feb-06 2:51
David Crow10-Feb-06 2:51 
Kiriko wrote:
The compiler reports and error on the line in the CDialog class header that says

enum { IDD = IDD_MYDIALOG };


Which usually means that the actual problem is further upstream from this enum statement.

Start at the top of the dialog's .cpp file and go through each included .h file to see what has been defined and what has not been defined.

Another alternative would be to start the project over and, assuming it does not crash during the build, compare the two projects to see what the differences are.


"The greatest good you can do for another is not just to share your riches but to reveal to him his own." - Benjamin Disraeli


QuestionGetting alerts (messagebox) with an integer value Pin
kk_vp10-Feb-06 0:12
kk_vp10-Feb-06 0:12 
AnswerRe: Getting alerts (messagebox) with an integer value Pin
toxcct10-Feb-06 0:20
toxcct10-Feb-06 0:20 
GeneralRe: Getting alerts (messagebox) with an integer value Pin
kk_vp10-Feb-06 0:37
kk_vp10-Feb-06 0:37 
General[Message Deleted] Pin
_anil_10-Feb-06 0:53
_anil_10-Feb-06 0:53 
QuestionRe: Getting alerts (messagebox) with an integer value Pin
David Crow10-Feb-06 3:15
David Crow10-Feb-06 3:15 
AnswerRe: Getting alerts (messagebox) with an integer value Pin
_anil_10-Feb-06 4:18
_anil_10-Feb-06 4:18 
GeneralRe: Getting alerts (messagebox) with an integer value Pin
David Crow10-Feb-06 2:53
David Crow10-Feb-06 2:53 
AnswerRe: Getting alerts (messagebox) with an integer value Pin
_anil_10-Feb-06 0:30
_anil_10-Feb-06 0:30 
AnswerRe: Getting alerts (messagebox) with an integer value Pin
ThatsAlok10-Feb-06 0:36
ThatsAlok10-Feb-06 0:36 
GeneralRe: Getting alerts (messagebox) with an integer value Pin
toxcct10-Feb-06 0:40
toxcct10-Feb-06 0:40 
GeneralRe: Getting alerts (messagebox) with an integer value Pin
ThatsAlok10-Feb-06 0:45
ThatsAlok10-Feb-06 0:45 
AnswerRe: Getting alerts (messagebox) with an integer value Pin
Cedric Moonen10-Feb-06 0:43
Cedric Moonen10-Feb-06 0:43 
GeneralRe: Getting alerts (messagebox) with an integer value Pin
kk_vp10-Feb-06 0:59
kk_vp10-Feb-06 0:59 
GeneralRe: Getting alerts (messagebox) with an integer value Pin
Cedric Moonen10-Feb-06 1:05
Cedric Moonen10-Feb-06 1:05 
GeneralRe: Getting alerts (messagebox) with an integer value Pin
kk_vp10-Feb-06 1:12
kk_vp10-Feb-06 1:12 
GeneralRe: Getting alerts (messagebox) with an integer value Pin
_anil_10-Feb-06 1:27
_anil_10-Feb-06 1:27 
GeneralRe: Getting alerts (messagebox) with an integer value Pin
toxcct10-Feb-06 1:59
toxcct10-Feb-06 1:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.