Click here to Skip to main content
15,896,606 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Getting an HWND from an HINSTANCE Pin
Harold Bamford2-Oct-02 12:48
Harold Bamford2-Oct-02 12:48 
GeneralRe: Getting an HWND from an HINSTANCE Pin
Chris Richardson2-Oct-02 12:55
Chris Richardson2-Oct-02 12:55 
GeneralRe: Getting an HWND from an HINSTANCE Pin
JT Anderson2-Oct-02 13:07
JT Anderson2-Oct-02 13:07 
GeneralRe: Getting an HWND from an HINSTANCE Pin
Harold Bamford3-Oct-02 7:39
Harold Bamford3-Oct-02 7:39 
GeneralSaving File Formats Pin
SanShou2-Oct-02 6:17
SanShou2-Oct-02 6:17 
GeneralRe: Saving File Formats Pin
JohnnyG2-Oct-02 6:38
JohnnyG2-Oct-02 6:38 
GeneralRe: Saving File Formats Pin
SanShou2-Oct-02 7:10
SanShou2-Oct-02 7:10 
GeneralRe: Saving File Formats Pin
Phil J Pearson2-Oct-02 7:21
Phil J Pearson2-Oct-02 7:21 
It depends on how complicated the state information is. Simple options would be:

1. Use ini files (WriteProfileXxxx and GetProfileXxxx)
2. Write csv files. They can be opened in Notepad, Excel, Access etc., etc. Get some code from CP to handle csv files or write your own, it's pretty easy.
3. Use XML. There are several examples on CP of loading and saving configuration to XML. It's not so easy to hand edit (and fairly easy to screw it up) but it can be done.



The opinions expressed in this communication do not necessarily represent those of the author (especially if you find them impolite, discourteous or inflammatory).
GeneralRe: Saving File Formats Pin
Rickard Andersson202-Oct-02 8:28
Rickard Andersson202-Oct-02 8:28 
GeneralRe: Saving File Formats Pin
Scott H. Settlemier2-Oct-02 9:57
Scott H. Settlemier2-Oct-02 9:57 
GeneralRe: Saving File Formats Pin
SanShou2-Oct-02 10:11
SanShou2-Oct-02 10:11 
GeneralRe: Saving File Formats Pin
Patje2-Oct-02 21:27
Patje2-Oct-02 21:27 
GeneralSet index in CListCtrl Pin
Telefonen2-Oct-02 5:54
Telefonen2-Oct-02 5:54 
GeneralRe: Set index in CListCtrl Pin
Chris Richardson2-Oct-02 9:55
Chris Richardson2-Oct-02 9:55 
GeneralChanging dialog properties programatically Pin
adamUK2-Oct-02 5:53
adamUK2-Oct-02 5:53 
QuestionHow do I convert a double to char Pin
Jose Cruz2-Oct-02 5:20
Jose Cruz2-Oct-02 5:20 
AnswerRe: How do I convert a double to char Pin
Jon Hulatt2-Oct-02 5:23
Jon Hulatt2-Oct-02 5:23 
AnswerRe: How do I convert a double to char Pin
jhwurmbach2-Oct-02 5:50
jhwurmbach2-Oct-02 5:50 
Generalquestion about safearray Pin
Gérald Mercet2-Oct-02 4:59
Gérald Mercet2-Oct-02 4:59 
GeneralDoWaitCursor(true) not staying up Pin
2-Oct-02 4:40
suss2-Oct-02 4:40 
GeneralRe: DoWaitCursor(true) not staying up Pin
Paul M Watt2-Oct-02 5:00
mentorPaul M Watt2-Oct-02 5:00 
GeneralA simple array question Pin
ns2-Oct-02 4:29
ns2-Oct-02 4:29 
GeneralRe: A simple array question Pin
RedZenBird2-Oct-02 4:31
RedZenBird2-Oct-02 4:31 
GeneralRe: A simple array question Pin
ns2-Oct-02 4:47
ns2-Oct-02 4:47 
GeneralRe: A simple array question Pin
jmkhael2-Oct-02 4:51
jmkhael2-Oct-02 4: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.