Click here to Skip to main content
15,918,243 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: how to disable double click event on a button. Pin
Rajesh Katalkar23-Nov-08 7:47
Rajesh Katalkar23-Nov-08 7:47 
AnswerRe: how to disable double click event on a button. Pin
sdc3954-Aug-11 2:28
sdc3954-Aug-11 2:28 
QuestionGetting Pre-Build Event error. Pin
Davinder Pal Singh20-Nov-08 0:05
Davinder Pal Singh20-Nov-08 0:05 
AnswerRe: Getting Pre-Build Event error. Pin
Code-o-mat20-Nov-08 0:12
Code-o-mat20-Nov-08 0:12 
QuestionHow to place a button control over a picture control or some other control Pin
manoharbalu19-Nov-08 23:51
manoharbalu19-Nov-08 23:51 
AnswerRe: How to place a button control over a picture control or some other control Pin
Code-o-mat20-Nov-08 0:09
Code-o-mat20-Nov-08 0:09 
AnswerRe: How to place a button control over a picture control or some other control Pin
Chandrasekharan P20-Nov-08 0:24
Chandrasekharan P20-Nov-08 0:24 
QuestionRound Corner ComboBox VC 7.1 Pin
Rathore Amit19-Nov-08 23:04
Rathore Amit19-Nov-08 23:04 
AnswerRe: Round Corner ComboBox VC 7.1 Pin
SandipG 19-Nov-08 23:19
SandipG 19-Nov-08 23:19 
GeneralRe: Round Corner ComboBox VC 7.1 Pin
Rathore Amit19-Nov-08 23:29
Rathore Amit19-Nov-08 23:29 
GeneralRe: Round Corner ComboBox VC 7.1 Pin
Alan Balkany20-Nov-08 3:52
Alan Balkany20-Nov-08 3:52 
QuestionInclusion of header files Pin
Taruni19-Nov-08 23:01
Taruni19-Nov-08 23:01 
AnswerRe: Inclusion of header files Pin
CPallini19-Nov-08 23:43
mveCPallini19-Nov-08 23:43 
GeneralRe: Inclusion of header files Pin
Taruni20-Nov-08 0:09
Taruni20-Nov-08 0:09 
QuestionRe: Inclusion of header files Pin
CPallini20-Nov-08 0:29
mveCPallini20-Nov-08 0:29 
AnswerRe: Inclusion of header files Pin
Taruni20-Nov-08 0:42
Taruni20-Nov-08 0:42 
GeneralRe: Inclusion of header files Pin
CPallini20-Nov-08 0:53
mveCPallini20-Nov-08 0:53 
GeneralRe: Inclusion of header files Pin
Taruni20-Nov-08 1:05
Taruni20-Nov-08 1:05 
AnswerRe: Inclusion of header files Pin
krmed20-Nov-08 0:56
krmed20-Nov-08 0:56 
GeneralRe: Inclusion of header files Pin
Taruni20-Nov-08 1:02
Taruni20-Nov-08 1:02 
AnswerRe: Inclusion of header files Pin
David Crow20-Nov-08 4:24
David Crow20-Nov-08 4:24 
QuestionRe: Inclusion of header files Pin
David Crow20-Nov-08 4:29
David Crow20-Nov-08 4:29 
AnswerRe: Inclusion of header files Pin
Taruni20-Nov-08 17:27
Taruni20-Nov-08 17:27 
GeneralRe: Inclusion of header files Pin
David Crow21-Nov-08 2:40
David Crow21-Nov-08 2:40 
Taruni wrote:
If I include those header files in .cpp file, then the compiler generates the error as it doesn't find the header file for CObject in MyClass.h file.


Which is why I asked what the stdafx.h file looks like.

At this point, I would create a "dummy" MFC project, and then create your new class via Insert --> New Class. In the Class Type combobox, select Generic Class. In the Derived From box, type CObject. Study the contents of the files created.

"Love people and use things, not love things and use people." - Unknown

"The brick walls are there for a reason...to stop the people who don't want it badly enough." - Randy Pausch


QuestionOpen-Source Antivirus Project Pin
whitewolf8819-Nov-08 22:55
whitewolf8819-Nov-08 22:55 

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.