Click here to Skip to main content
15,913,408 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: wsnprintf() method .h file needed .. Pin
PJ Arends30-Nov-03 0:05
professionalPJ Arends30-Nov-03 0:05 
Generalwsnprintf() method __defined_.h_file Pin
derik_konark29-Nov-03 23:21
derik_konark29-Nov-03 23:21 
GeneralSimple databse problem Pin
Scozturk29-Nov-03 22:51
professionalScozturk29-Nov-03 22:51 
GeneralRe: Simple databse problem Pin
Gareth Johnson30-Nov-03 8:50
sussGareth Johnson30-Nov-03 8:50 
GeneralRSA cryptosystem Pin
swanss29-Nov-03 22:11
sussswanss29-Nov-03 22:11 
GeneralRe: RSA cryptosystem Pin
Jörgen Sigvardsson30-Nov-03 11:53
Jörgen Sigvardsson30-Nov-03 11:53 
GeneralHelp pop3 !!!!!!!!!!!!!!!!! Pin
BaldwinMartin29-Nov-03 19:58
BaldwinMartin29-Nov-03 19:58 
GeneralLinking the dialog and its class Pin
J.B.29-Nov-03 19:18
J.B.29-Nov-03 19:18 
Hi guys,
I am quite new to Windows programming and am trying to make a dialog based program.

I started it with the MCF Application wizard and created a dialog based program. For this parent dialog, initially I found no trouble adding buttons and double click on them to create their BnClicked codes (it automatically switched to its class files, say CMy.cpp). But after I've gone further to manually add status bar and child dialogs and come back to it, I then have a problem on this parent dialog. For some reasons, the parent dialog does not seem to recognise its class files (e.g. CMy.cpp, CMy.h) any more. Now if I add a button to the dialog and double click on that button, the MFC Class Wizard will come up and ask me to create a class for the dialog.

Without much knowledge on Windows programming, I am having a hard time to figure out how to "link" the dialog back with its class files. Can anyone help?

Thanks alot
GeneralRe: Linking the dialog and its class Pin
BaldwinMartin29-Nov-03 19:24
BaldwinMartin29-Nov-03 19:24 
GeneralRe: Linking the dialog and its class Pin
J.B.29-Nov-03 19:32
J.B.29-Nov-03 19:32 
GeneralRe: Linking the dialog and its class Pin
BaldwinMartin29-Nov-03 19:35
BaldwinMartin29-Nov-03 19:35 
GeneralRe: Linking the dialog and its class Pin
J.B.29-Nov-03 19:38
J.B.29-Nov-03 19:38 
GeneralRe: Linking the dialog and its class Pin
BaldwinMartin29-Nov-03 19:42
BaldwinMartin29-Nov-03 19:42 
GeneralRe: Linking the dialog and its class Pin
JWood29-Nov-03 19:46
JWood29-Nov-03 19:46 
GeneralRe: Linking the dialog and its class Pin
J.B.29-Nov-03 19:53
J.B.29-Nov-03 19:53 
GeneralAfxConnectionAdvice undeclared identifier Pin
Prakash Nadar29-Nov-03 18:26
Prakash Nadar29-Nov-03 18:26 
GeneralColoring slider Pin
georgiek5029-Nov-03 17:50
georgiek5029-Nov-03 17:50 
GeneralRe: Coloring slider Pin
BaldwinMartin29-Nov-03 19:44
BaldwinMartin29-Nov-03 19:44 
GeneralAddin Dialogs Pin
N.Byarley29-Nov-03 17:42
N.Byarley29-Nov-03 17:42 
GeneralRe: Addin Dialogs Pin
BaldwinMartin29-Nov-03 18:51
BaldwinMartin29-Nov-03 18:51 
GeneralRe: Addin Dialogs Pin
Scozturk29-Nov-03 22:53
professionalScozturk29-Nov-03 22:53 
Questionpassing variable argument list to another function? Pin
nm_11429-Nov-03 17:28
nm_11429-Nov-03 17:28 
AnswerRe: passing variable argument list to another function? Pin
BaldwinMartin29-Nov-03 19:40
BaldwinMartin29-Nov-03 19:40 
GeneralRe: passing variable argument list to another function? Pin
nm_11429-Nov-03 20:13
nm_11429-Nov-03 20:13 
AnswerRe: passing variable argument list to another function? Pin
cmk29-Nov-03 20:30
cmk29-Nov-03 20:30 

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.