Click here to Skip to main content
15,902,939 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Why won't CStatic paint? Pin
murdoc515015-Jun-03 3:29
murdoc515015-Jun-03 3:29 
GeneralRe: Why won't CStatic paint? Pin
Stan the man15-Jun-03 15:25
Stan the man15-Jun-03 15:25 
GeneralRe: Why won't CStatic paint? Pin
murdoc515016-Jun-03 4:15
murdoc515016-Jun-03 4:15 
GeneralRe: Why won't CStatic paint? Pin
Stan the man16-Jun-03 5:20
Stan the man16-Jun-03 5:20 
GeneralAbout an "unexpected #else " probelm Pin
FlyingDancer14-Jun-03 21:22
FlyingDancer14-Jun-03 21:22 
GeneralRe: About an "unexpected #else " probelm Pin
Gary R. Wheeler15-Jun-03 2:49
Gary R. Wheeler15-Jun-03 2:49 
GeneralRe: About an "unexpected #else " probelm Pin
FlyingDancer15-Jun-03 3:21
FlyingDancer15-Jun-03 3:21 
QuestionDLL ? Pin
Stan the man14-Jun-03 20:20
Stan the man14-Jun-03 20:20 
I am trying to find a way so that not so many file header must be included when I want to use a class from a DLL from a class that has many other headers included. All I know is that when I inlcude one header everything included in it must be included etc. This creates really quite a chain. Any way out of this I do not know.

For one of these situations, I am including a MODELESS dialog in a class. Because the way I am doing it now is to include a pointer to it in the declaration I have to include the header in the main class header. I want to move the header inclusion to the .cpp file. I was thinking about making a global declaration in the .cpp file. Then just create it by new etc. This would be for the entire duration of the program. I do not want to make it modal because that would disrupt the other parts of the program which has to run during this. If multiple programs call this DLL, would this still work?

Would another better way be just to call it modally then call peek and translatemsg etc in that function call?

Anyone know more ways to "hide" the header files so that it does not have to be included for DLL but can be hidden in the .cpp file?

Thank you in advance.



AnswerRe: DLL ? Pin
Roger Allen16-Jun-03 1:54
Roger Allen16-Jun-03 1:54 
GeneralRe: DLL ? Pin
Stan the man16-Jun-03 5:24
Stan the man16-Jun-03 5:24 
GeneralQuestion about run at start up Pin
Mazdak14-Jun-03 19:38
Mazdak14-Jun-03 19:38 
GeneralRe: Question about run at start up Pin
valikac14-Jun-03 19:52
valikac14-Jun-03 19:52 
GeneralRe: Question about run at start up Pin
Mazdak14-Jun-03 20:01
Mazdak14-Jun-03 20:01 
GeneralRe: Question about run at start up Pin
Nicolas Bonamy14-Jun-03 20:30
Nicolas Bonamy14-Jun-03 20:30 
GeneralRe: Question about run at start up Pin
Mazdak14-Jun-03 20:54
Mazdak14-Jun-03 20:54 
GeneralRe: Question about run at start up Pin
Ryan Binns14-Jun-03 22:26
Ryan Binns14-Jun-03 22:26 
GeneralRe: Question about run at start up Pin
Mazdak14-Jun-03 22:56
Mazdak14-Jun-03 22:56 
GeneralRe: Question about run at start up Pin
Ryan Binns15-Jun-03 2:59
Ryan Binns15-Jun-03 2:59 
GeneralRe: Question about run at start up Pin
Anonymous15-Jun-03 0:33
Anonymous15-Jun-03 0:33 
GeneralRe: Question about run at start up Pin
Ryan Binns15-Jun-03 3:01
Ryan Binns15-Jun-03 3:01 
GeneralRe: Question about run at start up Pin
Mazdak15-Jun-03 7:20
Mazdak15-Jun-03 7:20 
GeneralRe: Question about run at start up Pin
Ryan Binns15-Jun-03 14:52
Ryan Binns15-Jun-03 14:52 
GeneralRe: Question about run at start up Pin
Mazdak15-Jun-03 20:56
Mazdak15-Jun-03 20:56 
Questionhow to toggle desktop Pin
jerryage14-Jun-03 15:38
jerryage14-Jun-03 15:38 
GeneralCGridCtrl Add & Delete UI Pin
Sam Hobbs14-Jun-03 14:29
Sam Hobbs14-Jun-03 14:29 

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.