Click here to Skip to main content
15,918,889 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Open a file explorer in a dialog based MFC app Pin
Gary Kirkham26-Jan-04 13:36
Gary Kirkham26-Jan-04 13:36 
GeneralRe: Open a file explorer in a dialog based MFC app Pin
andreir2326-Jan-04 15:51
andreir2326-Jan-04 15:51 
GeneralTrouble while trying to exit a dialog MFC App Pin
andreir2326-Jan-04 11:48
andreir2326-Jan-04 11:48 
GeneralRe: Trouble while trying to exit a dialog MFC App Pin
John R. Shaw26-Jan-04 18:08
John R. Shaw26-Jan-04 18:08 
GeneralRe: Trouble while trying to exit a dialog MFC App Pin
andreir2327-Jan-04 12:09
andreir2327-Jan-04 12:09 
GeneralRe: Trouble while trying to exit a dialog MFC App Pin
rrrado26-Jan-04 21:49
rrrado26-Jan-04 21:49 
GeneralRe: Trouble while trying to exit a dialog MFC App Pin
Robert A. T. Káldy27-Jan-04 1:08
Robert A. T. Káldy27-Jan-04 1:08 
QuestionHow do you modify a string from a string table and/or how you use it ? Pin
andreir2326-Jan-04 11:31
andreir2326-Jan-04 11:31 
Please don't flame me (too much)... I am still a beginner.
I have a dialog type MFC app with 1 string table. I added there strings for all controls and visual messages to the user. All these in order to make my app multi-language prepared.

I thought this way: "I have default strings for everything. Then I try to load a language.ini file and overwrite every string in the string table with the ones that I read from the ini file. This way if the ini file is incomplete, I won't have textless controls or messages"

My problem is that I don't know how to :

a) Modify (IF POSSIBLE?) a string stored in a string table
b) Use a string from the string table as a parameter to a function that requires one. For example for MessageBox.

Thank you.

PS: One way to do b) that I found is:

CString test;
test.LoadString(IDS_STOP);
MessageBox(test,"abc",MB_OK);

Only I fear that there is a simpler way.
AnswerRe: How do you modify a string from a string table and/or how you use it ? Pin
BaldwinMartin26-Jan-04 16:36
BaldwinMartin26-Jan-04 16:36 
AnswerRe: How do you modify a string from a string table and/or how you use it ? Pin
John R. Shaw26-Jan-04 18:00
John R. Shaw26-Jan-04 18:00 
GeneralRe: How do you modify a string from a string table and/or how you use it ? Pin
andreir2327-Jan-04 12:14
andreir2327-Jan-04 12:14 
GeneralRe: How do you modify a string from a string table and/or how you use it ? Pin
John R. Shaw28-Jan-04 15:36
John R. Shaw28-Jan-04 15:36 
GeneralHelp with IE plugin... Pin
Snyp26-Jan-04 11:23
Snyp26-Jan-04 11:23 
GeneralRe: Help with IE plugin... Pin
Michael Dunn26-Jan-04 16:33
sitebuilderMichael Dunn26-Jan-04 16:33 
GeneralOnIdle Pin
lpRomang26-Jan-04 9:57
lpRomang26-Jan-04 9:57 
GeneralRe: OnIdle Pin
Michael Dunn26-Jan-04 16:38
sitebuilderMichael Dunn26-Jan-04 16:38 
GeneralRe: OnIdle Pin
Anonymous26-Jan-04 19:18
Anonymous26-Jan-04 19:18 
GeneralRe: OnIdle Pin
Michael Dunn26-Jan-04 19:44
sitebuilderMichael Dunn26-Jan-04 19:44 
GeneralRe: OnIdle Pin
Anonymous27-Jan-04 2:12
Anonymous27-Jan-04 2:12 
GeneralRe: OnIdle Pin
Michael Dunn27-Jan-04 7:07
sitebuilderMichael Dunn27-Jan-04 7:07 
GeneralSorting 'std::list' -s filled with class-pointers leads to a compile error Pin
clayman8726-Jan-04 8:49
clayman8726-Jan-04 8:49 
GeneralRe: Sorting 'std::list' -s filled with class-pointers leads to a compile error Pin
Joaquín M López Muñoz26-Jan-04 10:22
Joaquín M López Muñoz26-Jan-04 10:22 
GeneralRe: Sorting 'std::list' -s filled with class-pointers leads to a compile error Pin
clayman8726-Jan-04 23:34
clayman8726-Jan-04 23:34 
GeneralRe: Sorting 'std::list' -s filled with class-pointers leads to a compile error Pin
clayman8727-Jan-04 0:15
clayman8727-Jan-04 0:15 
GeneralRe: Sorting 'std::list' -s filled with class-pointers leads to a compile error Pin
pi31415638-Mar-04 10:56
pi31415638-Mar-04 10:56 

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.