Click here to Skip to main content
15,892,746 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: sending messages Pin
Albert Holguin20-Mar-12 5:04
professionalAlbert Holguin20-Mar-12 5:04 
Questioncode pow(a,b) function in Visual studio 2010 professional Pin
mrby12319-Mar-12 19:06
mrby12319-Mar-12 19:06 
AnswerRe: code pow(a,b) function in Visual studio 2010 professional Pin
Jochen Arndt19-Mar-12 22:08
professionalJochen Arndt19-Mar-12 22:08 
GeneralRe: code pow(a,b) function in Visual studio 2010 professional Pin
mrby12320-Mar-12 10:03
mrby12320-Mar-12 10:03 
GeneralRe: code pow(a,b) function in Visual studio 2010 professional Pin
Jochen Arndt20-Mar-12 21:59
professionalJochen Arndt20-Mar-12 21:59 
GeneralRe: code pow(a,b) function in Visual studio 2010 professional Pin
mrby12321-Mar-12 18:46
mrby12321-Mar-12 18:46 
QuestionWhy click and nothing done ? Pin
doanhanam19-Mar-12 18:46
doanhanam19-Mar-12 18:46 
AnswerRe: Why click and nothing done ? Pin
enhzflep19-Mar-12 20:43
enhzflep19-Mar-12 20:43 
Step 1. Cut lines 154 - 177 (inc) from 2.cpp
Step 2. Paste to bottom of 2.h
Step 3. Copy lines 175 and 176 from 2.cpp
Step 4. Replace lines 134 and 135 in 2View.cpp with the text copied in step 3


In a nutshell:
When the Help->About menu option was selected, a variable of type CAboutDlg was instanced and then had the DoModal member function called.
However, when the Here->1.1 menu option was selected, you were loading a CDialog with the appearance of the About dialog - that is to say, the resource was not hooked up to a class object of the correct type, so it could not fire the handler for the Button1 button.

Step 1&2: Move class definition for CAboutDlg to 2.h
Step 3&4: Instance correct object (CAboutDlg, not CDialog)
GeneralRe: Why click and nothing done ? Pin
doanhanam20-Mar-12 1:33
doanhanam20-Mar-12 1:33 
GeneralRe: Why click and nothing done ? Pin
enhzflep20-Mar-12 1:47
enhzflep20-Mar-12 1:47 
GeneralRe: Why click and nothing done ? Pin
doanhanam20-Mar-12 14:32
doanhanam20-Mar-12 14:32 
Questionwhy the coded game is not show Pin
rucha warade19-Mar-12 4:35
rucha warade19-Mar-12 4:35 
AnswerRe: why the coded game is not show Pin
Richard MacCutchan19-Mar-12 4:40
mveRichard MacCutchan19-Mar-12 4:40 
AnswerRe: why the coded game is not show Pin
Richard Andrew x6419-Mar-12 17:12
professionalRichard Andrew x6419-Mar-12 17:12 
JokeRe: why the coded game is not show Pin
Rajesh R Subramanian19-Mar-12 18:44
professionalRajesh R Subramanian19-Mar-12 18:44 
AnswerRe: why the coded game is not show Pin
CPallini19-Mar-12 23:43
mveCPallini19-Mar-12 23:43 
QuestionCLabelControl problem Pin
manju 319-Mar-12 1:55
manju 319-Mar-12 1:55 
AnswerRe: CLabelControl problem Pin
krmed19-Mar-12 2:27
krmed19-Mar-12 2:27 
Questionhelp me about A* algorithm Pin
Member 874065018-Mar-12 21:18
Member 874065018-Mar-12 21:18 
AnswerRe: help me about A* algorithm Pin
«_Superman_»18-Mar-12 21:48
professional«_Superman_»18-Mar-12 21:48 
QuestionRead the text file from another PC(server PC) Pin
D.Manivelan18-Mar-12 20:44
D.Manivelan18-Mar-12 20:44 
AnswerRe: Read the text file from another PC(server PC) Pin
Richard MacCutchan18-Mar-12 22:40
mveRichard MacCutchan18-Mar-12 22:40 
QuestionHow to extract plain text from html file? Pin
Le@rner18-Mar-12 20:31
Le@rner18-Mar-12 20:31 
AnswerRe: How to extract plain text from html file? Pin
Jochen Arndt18-Mar-12 22:35
professionalJochen Arndt18-Mar-12 22:35 
Questionmigration from c++ 6 to Visual stutio professional 2010 Pin
mrby12318-Mar-12 18:53
mrby12318-Mar-12 18:53 

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.