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

C / C++ / MFC

 
AnswerRe: Has somebody written a standalone splitter class? Pin
Remi Morin14-Sep-01 9:07
Remi Morin14-Sep-01 9:07 
GeneralRe: Has somebody written a standalone splitter class? Pin
Tommy H D Svensson16-Sep-01 21:51
Tommy H D Svensson16-Sep-01 21:51 
GeneralRegistering dll within setup.exe Pin
byblostas14-Sep-01 3:05
byblostas14-Sep-01 3:05 
GeneralRe: Registering dll within setup.exe Pin
Carlos Antollini14-Sep-01 3:47
Carlos Antollini14-Sep-01 3:47 
GeneralToolbar Problems Pin
James Bird14-Sep-01 2:05
James Bird14-Sep-01 2:05 
GeneralRe: Toolbar Problems Pin
Tomasz Sowinski14-Sep-01 2:19
Tomasz Sowinski14-Sep-01 2:19 
QuestionSDI and variables - where should I place them? Pin
14-Sep-01 1:57
suss14-Sep-01 1:57 
AnswerRe: SDI and variables - where should I place them? Pin
Steen Krogsgaard14-Sep-01 2:15
Steen Krogsgaard14-Sep-01 2:15 
If your variables relate to the document they should be put there. From there they will be accessible to all views throught the GetDocument() member function.

If the variables are more global of nature and as such not related to a specific document but more to the program instance as such (e.g. username/pw or default file locations)I would put them in the application object (your CWinApp derivative). Then they will be accessible from anywhere in the program through AfxGetApp().

I'd say you put your CString in the document.

Cheers
Steen.

"To claim that computer games influence children is rediculous. If Pacman had influenced children born in the 80'ies we would see a lot of youngsters running around in dark rooms eating pills while listening to monotonous music"
GeneralRe: SDI and variables - where should I place them? Pin
14-Sep-01 4:56
suss14-Sep-01 4:56 
GeneralRe: SDI and variables - where should I place them? Pin
14-Sep-01 10:12
suss14-Sep-01 10:12 
AnswerRe: Use your class derived from CObject! Pin
Masaaki Onishi14-Sep-01 7:34
Masaaki Onishi14-Sep-01 7:34 
AnswerYep - got it to work! Thanks guys! Pin
18-Sep-01 8:56
suss18-Sep-01 8:56 
QuestionHow to get the text of edit ctrl from first dialog box in second dialog box? Pin
my match14-Sep-01 1:51
my match14-Sep-01 1:51 
AnswerRe: How to get the text of edit ctrl from first dialog box in second dialog box? Pin
Steen Krogsgaard14-Sep-01 2:10
Steen Krogsgaard14-Sep-01 2:10 
QuestionSQL Server Experts - Could you provide some insight ? Pin
ManaInfy14-Sep-01 1:17
ManaInfy14-Sep-01 1:17 
QuestionChange text and/or button colour ??? Pin
mattiase14-Sep-01 1:03
mattiase14-Sep-01 1:03 
AnswerRe: Change text and/or button colour ??? Pin
Tomasz Sowinski14-Sep-01 1:59
Tomasz Sowinski14-Sep-01 1:59 
GeneralI really need a CSplitterWnd expert!!! Pin
Tommy H D Svensson14-Sep-01 0:49
Tommy H D Svensson14-Sep-01 0:49 
GeneralRe: I really need a CSplitterWnd expert!!! Pin
Tomasz Sowinski14-Sep-01 1:35
Tomasz Sowinski14-Sep-01 1:35 
GeneralRe: I really need a CSplitterWnd expert!!! Pin
Tommy H D Svensson14-Sep-01 2:01
Tommy H D Svensson14-Sep-01 2:01 
GeneralRe: I really need a CSplitterWnd expert!!! Pin
Tomasz Sowinski14-Sep-01 2:10
Tomasz Sowinski14-Sep-01 2:10 
GeneralRe: I really need a CSplitterWnd expert!!! Pin
Tommy H D Svensson14-Sep-01 2:15
Tommy H D Svensson14-Sep-01 2:15 
GeneralRe: I really need a CSplitterWnd expert!!! Pin
Tommy H D Svensson14-Sep-01 2:23
Tommy H D Svensson14-Sep-01 2:23 
GeneralRe: I really need a CSplitterWnd expert!!! Pin
Tomasz Sowinski14-Sep-01 2:43
Tomasz Sowinski14-Sep-01 2:43 
GeneralRe: I really need a CSplitterWnd expert!!! Pin
Tommy H D Svensson14-Sep-01 2:51
Tommy H D Svensson14-Sep-01 2:51 

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.