Click here to Skip to main content
15,910,661 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: closing dialog by clicking on it Pin
toxcct27-May-04 3:03
toxcct27-May-04 3:03 
GeneralRe: closing dialog by clicking on it Pin
David Crow27-May-04 3:05
David Crow27-May-04 3:05 
GeneralRe: closing dialog by clicking on it Pin
toxcct27-May-04 3:10
toxcct27-May-04 3:10 
General[Message Deleted] Pin
Naren Neelamegam28-May-04 18:55
Naren Neelamegam28-May-04 18:55 
GeneralRe: closing dialog by clicking on it Pin
toxcct28-May-04 22:36
toxcct28-May-04 22:36 
GeneralDesign issue with SDI app Pin
dart1327-May-04 2:28
dart1327-May-04 2:28 
GeneralRe: Design issue with SDI app Pin
valikac27-May-04 5:44
valikac27-May-04 5:44 
GeneralRe: Design issue with SDI app Pin
Armin Fryder28-May-04 3:12
Armin Fryder28-May-04 3:12 
If you don´t necessarily need a file, what about the registry, otherwise you could use the applications´ ini file.
1) If the Views are using the same CDocument and you don´t need these variables anywhere else than in these view, you might as well put them in CDocumen, otherwise in CWinApp

2) The CWinApp object gives a halfway decent support to write an read from the ini file
CWinApp::WriteProfileInt
CWinApp::GetProfileInt
CWinApp::GetProfileString
CWinApp::GetProfileString...
when the app quits, you can write your stuff within the
virtual CWinApp::ExitInstance()...

3) Easiest thing to do is to throw out the resources directly from the menu.
GeneralRe: Design issue with SDI app Pin
dart1329-May-04 13:32
dart1329-May-04 13:32 
GeneralBinary file reader Pin
demasoni.com27-May-04 2:12
demasoni.com27-May-04 2:12 
GeneralRe: Binary file reader Pin
toxcct27-May-04 2:50
toxcct27-May-04 2:50 
GeneralRe: Binary file reader Pin
demasoni.com27-May-04 6:19
demasoni.com27-May-04 6:19 
GeneralCode Snippet for verification of ISBN / UPC Pin
Sumit Kapoor27-May-04 2:05
Sumit Kapoor27-May-04 2:05 
GeneralRe: Code Snippet for verification of ISBN / UPC Pin
David Crow27-May-04 2:54
David Crow27-May-04 2:54 
GeneralRe: Code Snippet for verification of ISBN / UPC Pin
Sumit Kapoor27-May-04 3:30
Sumit Kapoor27-May-04 3:30 
GeneralRe: Code Snippet for verification of ISBN / UPC Pin
David Crow27-May-04 3:51
David Crow27-May-04 3:51 
GeneralRe: Code Snippet for verification of ISBN / UPC Pin
Sumit Kapoor27-May-04 4:40
Sumit Kapoor27-May-04 4:40 
QuestionDownload my .ocx that depends on 2 other dll’s? Pin
anderslundsgard27-May-04 1:42
anderslundsgard27-May-04 1:42 
GeneralThread, CString function and memory leak Pin
J.B.27-May-04 1:33
J.B.27-May-04 1:33 
GeneralRe: Thread, CString function and memory leak Pin
vikramlinux27-May-04 2:36
vikramlinux27-May-04 2:36 
GeneralRe: Thread, CString function and memory leak Pin
Antony M Kancidrowski27-May-04 3:01
Antony M Kancidrowski27-May-04 3:01 
GeneralRe: Thread, CString function and memory leak Pin
J.B.27-May-04 3:15
J.B.27-May-04 3:15 
GeneralRe: Thread, CString function and memory leak Pin
Antony M Kancidrowski27-May-04 2:58
Antony M Kancidrowski27-May-04 2:58 
GeneralRe: Thread, CString function and memory leak Pin
J.B.27-May-04 3:28
J.B.27-May-04 3:28 
GeneralRe: Thread, CString function and memory leak Pin
Antony M Kancidrowski27-May-04 3:41
Antony M Kancidrowski27-May-04 3:41 

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.