Click here to Skip to main content
15,920,896 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionstd::map ??? Pin
Giles7-Jan-02 11:33
Giles7-Jan-02 11:33 
AnswerRe: std::map ??? Pin
Christian Graus7-Jan-02 12:01
protectorChristian Graus7-Jan-02 12:01 
GeneralRe: std::map ??? Pin
Todd Smith7-Jan-02 12:48
Todd Smith7-Jan-02 12:48 
GeneralRe: std::map ??? Pin
Giles7-Jan-02 22:04
Giles7-Jan-02 22:04 
GeneralRe: std::map ??? Pin
Bernhard8-Jan-02 4:10
Bernhard8-Jan-02 4:10 
GeneralStopping CEdit to show floats in scientific notation Pin
Steve The Plant7-Jan-02 11:17
Steve The Plant7-Jan-02 11:17 
GeneralRe: Stopping CEdit to show floats in scientific notation Pin
James R. Twine8-Jan-02 7:44
James R. Twine8-Jan-02 7:44 
GeneralDoc/View question Pin
alex.barylski7-Jan-02 10:22
alex.barylski7-Jan-02 10:22 
Here's the scenerio

I have created a app using appwiz(VC++6) and have selected the doc/view arch. Now what i'd like to have is custom app wide properties in the CMainFrame class which are modified via dialogs. The dialog is constructed as a member of CMainFrame. I can transfer data from the dialog to CMainFrame no probs, but how can i do the same for my custom CView class. CView has it's own custom members used for drawing, but part of the drawing process requires info stored in CMainFrame. You swap data between CView and CDocumnet with the GetDocument() is there anyway to get the data(custom member) from CMainFrame. I managed to used globals, but doesn't this defeat the purpose OOP? I would like a more OOD<smiles> To do this would i have to construct CView and CDocument in CMainFrame rather than settle for the appwiz default of dynamic creation using CDocTemplate() and such...?

pardon my lack of clarity

TIA

Alex deltabravo@mb.sympatico.caConfused | :confused:

"An expert is someone who has made all the mistakes in thier field" - Niels Bohr
GeneralRe: Doc/View question Pin
J Patel7-Jan-02 10:31
J Patel7-Jan-02 10:31 
GeneralRe: Doc/View question Pin
alex.barylski7-Jan-02 11:28
alex.barylski7-Jan-02 11:28 
GeneralRe: Doc/View question Pin
J Patel7-Jan-02 11:30
J Patel7-Jan-02 11:30 
GeneralRe: Doc/View question Pin
alex.barylski7-Jan-02 11:50
alex.barylski7-Jan-02 11:50 
GeneralRe: Doc/View question Pin
Derek Waters7-Jan-02 12:11
Derek Waters7-Jan-02 12:11 
GeneralRe: Doc/View question Pin
alex.barylski7-Jan-02 12:23
alex.barylski7-Jan-02 12:23 
GeneralVariable Length Function parameter list Pin
slacker7-Jan-02 9:47
slacker7-Jan-02 9:47 
GeneralRe: Variable Length Function parameter list Pin
Joaquín M López Muñoz7-Jan-02 10:00
Joaquín M López Muñoz7-Jan-02 10:00 
GeneralRe: Variable Length Function parameter list Pin
Todd Smith7-Jan-02 11:47
Todd Smith7-Jan-02 11:47 
GeneralRe: Variable Length Function parameter list Pin
Tim Smith7-Jan-02 11:58
Tim Smith7-Jan-02 11:58 
GeneralRe: Variable Length Function parameter list Pin
Todd Smith7-Jan-02 12:33
Todd Smith7-Jan-02 12:33 
GeneralRe: Variable Length Function parameter list Pin
Nish Nishant7-Jan-02 18:34
sitebuilderNish Nishant7-Jan-02 18:34 
Generalchanging read-only CEdit background color Pin
Kuniva7-Jan-02 9:36
Kuniva7-Jan-02 9:36 
GeneralRe: changing read-only CEdit background color Pin
Joaquín M López Muñoz7-Jan-02 10:19
Joaquín M López Muñoz7-Jan-02 10:19 
GeneralRe: changing read-only CEdit background color Pin
Tim Deveaux7-Jan-02 10:30
Tim Deveaux7-Jan-02 10:30 
GeneralStored procedure ADO Pin
youssef7-Jan-02 8:35
youssef7-Jan-02 8:35 
GeneralSetMenuItemBitmaps() and GetSystemMetrics() Pin
7-Jan-02 8:25
suss7-Jan-02 8:25 

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.