Click here to Skip to main content
16,010,268 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: packaging a vc++ software Pin
David Salter21-Dec-02 2:19
David Salter21-Dec-02 2:19 
GeneralRe: packaging a vc++ software Pin
User 665821-Dec-02 2:33
User 665821-Dec-02 2:33 
GeneralRe: packaging a vc++ software Pin
Ted Ferenc21-Dec-02 5:33
Ted Ferenc21-Dec-02 5:33 
Generalaccessing the invisible part of a window Pin
king_of_the_world21-Dec-02 0:02
king_of_the_world21-Dec-02 0:02 
GeneralRe: accessing the invisible part of a window Pin
Michael Dunn21-Dec-02 5:23
sitebuilderMichael Dunn21-Dec-02 5:23 
Generalfunctions in MFC dialogs Pin
Ayush20-Dec-02 23:22
Ayush20-Dec-02 23:22 
GeneralRe: functions in MFC dialogs Pin
Christian Graus21-Dec-02 0:14
protectorChristian Graus21-Dec-02 0:14 
GeneralRe: functions in MFC dialogs Pin
Scott H. Settlemier23-Dec-02 6:30
Scott H. Settlemier23-Dec-02 6:30 
Like Christian said, though I would add the constructor to the list.

1. After object creation: constructor
2. After window creation: OnCreate or OnInitDialog for dialog boxes

I usually try to put any initialization that doesn't require a window
handle in the constructor.

Here's the question though: which is more preferable?
1. Plotting the data (or whatever processing) and passing the
results to a dialog to be displayed.
2. Passing your data to the dialog and adding plotting code
to process it in the dialog class.

(I assume by plotting, he means some sort of processing of
the data, not display.)

i.e. is it good form to add a lot of smarts to the dialog class or
keep them simple and mostly display oriented?
I would think for portability it is 2, but, being lazy and pressed
for time, I usually go for 1.

Generalwhich database is more suitable with MFC Pin
aashu20-Dec-02 22:44
aashu20-Dec-02 22:44 
GeneralRe: which database is more suitable with MFC Pin
Christian Graus21-Dec-02 0:17
protectorChristian Graus21-Dec-02 0:17 
GeneralRe: which database is more suitable with MFC Pin
Michael P Butler21-Dec-02 6:10
Michael P Butler21-Dec-02 6:10 
GeneralProblem with multi threading Pin
SHIBU K.V20-Dec-02 22:32
SHIBU K.V20-Dec-02 22:32 
GeneralRe: Problem with multi threading Pin
Michael Dunn21-Dec-02 5:31
sitebuilderMichael Dunn21-Dec-02 5:31 
GeneralRe: Problem with multi threading Pin
Andreas Masur22-Dec-02 9:40
Andreas Masur22-Dec-02 9:40 
GeneralNew Class or not Pin
ColinDavies20-Dec-02 21:21
ColinDavies20-Dec-02 21:21 
GeneralRe: New Class or not Pin
Christian Graus21-Dec-02 0:19
protectorChristian Graus21-Dec-02 0:19 
GeneralRe: New Class or not Pin
ColinDavies21-Dec-02 11:58
ColinDavies21-Dec-02 11:58 
Generalsending keys to a directx/openGL application Pin
Cyberizen20-Dec-02 21:08
Cyberizen20-Dec-02 21:08 
QuestionDialog in a Dialog... or view in a dialog? Pin
Anonymous20-Dec-02 19:58
Anonymous20-Dec-02 19:58 
AnswerRe: Dialog in a Dialog... or view in a dialog? Pin
Pavel Klocek20-Dec-02 20:20
Pavel Klocek20-Dec-02 20:20 
GeneralRe: Dialog in a Dialog... or view in a dialog? Pin
Anonymous20-Dec-02 21:48
Anonymous20-Dec-02 21:48 
GeneralRe: Dialog in a Dialog... or view in a dialog? Pin
Pavel Klocek20-Dec-02 22:00
Pavel Klocek20-Dec-02 22:00 
GeneralRe: Dialog in a Dialog... or view in a dialog? Pin
Anonymous21-Dec-02 2:29
Anonymous21-Dec-02 2:29 
GeneralCWnd OnMouseMove problem! Pin
Alex H 198320-Dec-02 19:28
Alex H 198320-Dec-02 19:28 
GeneralRe: CWnd OnMouseMove problem! Pin
Alex H 198321-Dec-02 2:42
Alex H 198321-Dec-02 2:42 

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.