Click here to Skip to main content
16,005,316 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralAbout books Pin
mimi14-Oct-01 18:20
mimi14-Oct-01 18:20 
GeneralRe: About books Pin
Christian Graus14-Oct-01 18:29
protectorChristian Graus14-Oct-01 18:29 
GeneralRe: About books Pin
Christian Graus14-Oct-01 18:34
protectorChristian Graus14-Oct-01 18:34 
GeneralOnly this little question please ! Pin
mimi14-Oct-01 18:49
mimi14-Oct-01 18:49 
GeneralRe: Only this little question please ! Pin
Christian Graus14-Oct-01 19:04
protectorChristian Graus14-Oct-01 19:04 
GeneralRe: Only this little question please ! Pin
Michael P Butler15-Oct-01 3:09
Michael P Butler15-Oct-01 3:09 
GeneralPreference coding Pin
Ashman14-Oct-01 1:45
Ashman14-Oct-01 1:45 
GeneralRe: Preference coding Pin
Dan Madden14-Oct-01 1:52
Dan Madden14-Oct-01 1:52 
You would load the information in the "OnInitDialog()" using:

DWORD GetPrivateProfileString(
LPCTSTR lpAppName, // points to section name
LPCTSTR lpKeyName, // points to key name
LPCTSTR lpDefault, // points to default string
LPTSTR lpReturnedString, // points to destination buffer
DWORD nSize, // size of destination buffer
LPCTSTR lpFileName // points to initialization filename
);

and write it using:

BOOL WritePrivateProfileString(
LPCTSTR lpAppName, // pointer to section name
LPCTSTR lpKeyName, // pointer to key name
LPCTSTR lpString, // pointer to string to add
LPCTSTR lpFileName // pointer to initialization filename
);

Once you get the information, use "GetDlgItem(IDC_EDIT...)->SetWindowText(Your-CString)".

Hopes this helps!


Thanks in advance,

Dan
GeneralRe: Preference coding Pin
Ashman14-Oct-01 21:31
Ashman14-Oct-01 21:31 
GeneralRe: Preference coding Pin
Dan Madden14-Oct-01 23:32
Dan Madden14-Oct-01 23:32 
QuestionQuickly Transfering Large Files????? Pin
Dan Madden14-Oct-01 1:44
Dan Madden14-Oct-01 1:44 
AnswerRe: Quickly Transfering Large Files????? Pin
#realJSOP14-Oct-01 4:49
professional#realJSOP14-Oct-01 4:49 
GeneralRe: Quickly Transfering Large Files????? Pin
Dan Madden14-Oct-01 9:51
Dan Madden14-Oct-01 9:51 
GeneralRe: Quickly Transfering Large Files????? Pin
#realJSOP14-Oct-01 10:34
professional#realJSOP14-Oct-01 10:34 
GeneralRe: Quickly Transfering Large Files????? Pin
markkuk14-Oct-01 20:10
markkuk14-Oct-01 20:10 
GeneralOffice XP toolbar's color schema and classic office toolbar's colors schema Pin
inforix14-Oct-01 0:30
inforix14-Oct-01 0:30 
QuestionI dont ask so bigger thing ! I want only simple and little thing ! So Why I in troubles ???????? Pin
14-Oct-01 0:28
suss14-Oct-01 0:28 
AnswerRe: I dont ask so bigger thing ! I want only simple and little thing ! So Why I in troubles ???????? Pin
Christian Graus14-Oct-01 0:39
protectorChristian Graus14-Oct-01 0:39 
GeneralRe: I dont ask so bigger thing ! I want only simple and little thing ! So Why I in troubles ???????? Pin
14-Oct-01 0:48
suss14-Oct-01 0:48 
AnswerRe: I dont ask so bigger thing ! I want only simple and little thing ! So Why I in troubles ???????? Pin
Rashid Thadha14-Oct-01 13:04
Rashid Thadha14-Oct-01 13:04 
GeneralRe: I dont ask so bigger thing ! I want only simple and little thing ! So Why I in troubles ???????? Pin
mimi14-Oct-01 16:04
mimi14-Oct-01 16:04 
GeneralRe: I dont ask so bigger thing ! I want only simple and little thing ! So Why I in troubles ???????? Pin
Rashid Thadha14-Oct-01 22:32
Rashid Thadha14-Oct-01 22:32 
GeneralADOX Create database file Pin
Christian Graus13-Oct-01 23:17
protectorChristian Graus13-Oct-01 23:17 
GeneralRe: ADOX Create database file Pin
Anders Molin14-Oct-01 1:48
professionalAnders Molin14-Oct-01 1:48 
GeneralRe: ADOX Create database file Pin
Christian Graus14-Oct-01 2:04
protectorChristian Graus14-Oct-01 2:04 

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.