Click here to Skip to main content
15,901,505 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CDialogBar Pin
Tomasz Sowinski4-Oct-02 5:48
Tomasz Sowinski4-Oct-02 5:48 
GeneralRe: CDialogBar Pin
lucy4-Oct-02 5:46
lucy4-Oct-02 5:46 
GeneralRe: CDialogBar Pin
Tomasz Sowinski4-Oct-02 5:59
Tomasz Sowinski4-Oct-02 5:59 
GeneralRe: CDialogBar Pin
lucy4-Oct-02 5:57
lucy4-Oct-02 5:57 
GeneralRe: CDialogBar Pin
Tomasz Sowinski4-Oct-02 6:20
Tomasz Sowinski4-Oct-02 6:20 
GeneralRe: CDialogBar Pin
lucy4-Oct-02 6:17
lucy4-Oct-02 6:17 
GeneralIDL Question Pin
Ryan B.4-Oct-02 5:02
Ryan B.4-Oct-02 5:02 
QuestionWhat do you put in stdafx.h ? Pin
Maximilien4-Oct-02 4:58
Maximilien4-Oct-02 4:58 
I know that we ususally put standard MFC includes, but what other things ?

.h files that are never really touched ? .h files that are really global ? even if it offers interface to classes from files that don't need it ( or want it ) ?

Problem is that when I need to add a .h in the stdafx.h it recompiles everything! no a good thing ! ( will recompile the precompile header )

I usually try to limit the stuff that I put in the stdafx.h, and limit the includes in the .h files of my projects, and use a much as possible forward declaration, and put the includes in the .cpp files.

any thoughts, suggestions, ideas ?

Thanks.

Max.

AnswerRe: What do you put in stdafx.h ? Pin
Tomasz Sowinski4-Oct-02 5:02
Tomasz Sowinski4-Oct-02 5:02 
AnswerRe: What do you put in stdafx.h ? Pin
Daniel Turini4-Oct-02 4:59
Daniel Turini4-Oct-02 4:59 
AnswerRe: What do you put in stdafx.h ? Pin
Michael P Butler4-Oct-02 5:03
Michael P Butler4-Oct-02 5:03 
Generalrecognize classes Pin
Zizilamoroso4-Oct-02 4:17
Zizilamoroso4-Oct-02 4:17 
GeneralRe: recognize classes Pin
Daniel Turini4-Oct-02 4:26
Daniel Turini4-Oct-02 4:26 
GeneralQuery Com Ports. Pin
Anthony98874-Oct-02 3:47
Anthony98874-Oct-02 3:47 
GeneralRe: Query Com Ports. Pin
Scott H. Settlemier4-Oct-02 4:20
Scott H. Settlemier4-Oct-02 4:20 
GeneralHWND list Pin
The_Server4-Oct-02 2:23
The_Server4-Oct-02 2:23 
GeneralRe: HWND list Pin
Tomasz Sowinski4-Oct-02 3:04
Tomasz Sowinski4-Oct-02 3:04 
GeneralRe: HWND list Pin
User 66584-Oct-02 3:11
User 66584-Oct-02 3:11 
GeneralRe: HWND list Pin
Tomasz Sowinski4-Oct-02 3:14
Tomasz Sowinski4-Oct-02 3:14 
GeneralRe: HWND list Pin
User 66584-Oct-02 3:19
User 66584-Oct-02 3:19 
GeneralRe: HWND list Pin
Andreas Saurwein4-Oct-02 5:38
Andreas Saurwein4-Oct-02 5:38 
GeneralRe: HWND list Pin
User 66584-Oct-02 10:06
User 66584-Oct-02 10:06 
GeneralRe: HWND list Pin
Daniel Ferguson4-Oct-02 6:22
Daniel Ferguson4-Oct-02 6:22 
GeneralThanks Pin
The_Server4-Oct-02 14:27
The_Server4-Oct-02 14:27 
GeneralVisual c++ and continue statement Pin
Sas284-Oct-02 1:14
Sas284-Oct-02 1: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.