Click here to Skip to main content
16,004,919 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: First steps in animation.. Kinda Pin
Christian Graus13-Jul-02 18:00
protectorChristian Graus13-Jul-02 18:00 
GeneralList view and scroll bar Pin
Anonymous13-Jul-02 16:17
Anonymous13-Jul-02 16:17 
GeneralRe: List view and scroll bar Pin
Peter Occil13-Jul-02 16:48
Peter Occil13-Jul-02 16:48 
GeneralRe: List view and scroll bar Pin
Anonymous13-Jul-02 22:35
Anonymous13-Jul-02 22:35 
GeneralIm so confused Pin
Steve L.13-Jul-02 14:48
Steve L.13-Jul-02 14:48 
GeneralRe: Im so confused Pin
Christian Graus13-Jul-02 16:35
protectorChristian Graus13-Jul-02 16:35 
GeneralRe: Im so confused Pin
Steve L.13-Jul-02 17:19
Steve L.13-Jul-02 17:19 
Generalsimple scope question Pin
Otyug13-Jul-02 13:22
Otyug13-Jul-02 13:22 
I'm a beginner programmer with no formal training so forgive me for asking such a basic question.

I'm having trouble passing information between dialogs. For instance, if I pop up a dialog and have an edit box that accepts a piece of data, when the edit box closes i'd like to get that piece of data to the main dialog.

My testbed for figuring out how to do this has been a simple MFC dialog app with an about box. I have added an edit box to the about dialog, and when I click 'ok' i'd like the main dialog to be able to access that variable.

I can easily solve the problem with a global variable but from what little studying i've done I know that it's "bad programming" and sloppy. I don't want to kick off my programming education with bad techniques so can someone explain the proper way to do this? An explanation in terms of working with the about box scenario described above would be most helpful.

Thank you.
GeneralRe: simple scope question Pin
Christian Graus13-Jul-02 13:37
protectorChristian Graus13-Jul-02 13:37 
GeneralVisual C++ MFC on Mac (OS 9 and X) Pin
Harlan Seymour13-Jul-02 13:11
Harlan Seymour13-Jul-02 13:11 
GeneralRe: Visual C++ MFC on Mac (OS 9 and X) Pin
Michael P Butler13-Jul-02 23:15
Michael P Butler13-Jul-02 23:15 
Questionhow to present an application's icon in system tray Pin
Nauman Ghazi13-Jul-02 10:26
Nauman Ghazi13-Jul-02 10:26 
AnswerRe: how to present an application's icon in system tray Pin
Nish Nishant13-Jul-02 16:50
sitebuilderNish Nishant13-Jul-02 16:50 
GeneralSaving out a Binary Text File Pin
John Aldrich13-Jul-02 9:07
John Aldrich13-Jul-02 9:07 
GeneralRe: Saving out a Binary Text File Pin
Ancient Dragon14-Jul-02 2:09
Ancient Dragon14-Jul-02 2:09 
GeneralRe: Saving out a Binary Text File Pin
John Aldrich14-Jul-02 6:47
John Aldrich14-Jul-02 6:47 
GeneralRe: Saving out a Binary Text File Pin
Ancient Dragon14-Jul-02 22:39
Ancient Dragon14-Jul-02 22:39 
GeneralRe: Saving out a Binary Text File Pin
Mike Nordell15-Jul-02 6:25
Mike Nordell15-Jul-02 6:25 
GeneralRe: Saving out a Binary Text File Pin
John Aldrich15-Jul-02 9:11
John Aldrich15-Jul-02 9:11 
GeneralRe: Saving out a Binary Text File Pin
Mike Nordell16-Jul-02 8:04
Mike Nordell16-Jul-02 8:04 
GeneralCFile and Linefeed Pin
ColinDavies13-Jul-02 7:21
ColinDavies13-Jul-02 7:21 
GeneralRe: CFile and Linefeed Pin
Jay Beckert13-Jul-02 7:25
Jay Beckert13-Jul-02 7:25 
GeneralRe: CFile and Linefeed Pin
Jay Beckert13-Jul-02 7:45
Jay Beckert13-Jul-02 7:45 
GeneralRe: CFile and Linefeed Pin
ColinDavies13-Jul-02 13:34
ColinDavies13-Jul-02 13:34 
GeneralRe: CFile and Linefeed Pin
Michael Dunn13-Jul-02 13:14
sitebuilderMichael Dunn13-Jul-02 13:14 

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.