Click here to Skip to main content
15,916,188 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Where can I find the registry key for the path of the current WebBrowser / EmailReader? Pin
Ștefan-Mihai MOGA16-Sep-02 23:44
professionalȘtefan-Mihai MOGA16-Sep-02 23:44 
GeneralMeasure running time of Consumer - Producer Pin
tongc15-Sep-02 4:50
tongc15-Sep-02 4:50 
GeneralRe: Measure running time of Consumer - Producer Pin
valikac15-Sep-02 5:59
valikac15-Sep-02 5:59 
GeneralRe: Measure running time of Consumer - Producer Pin
Anonymous15-Sep-02 21:37
Anonymous15-Sep-02 21:37 
GeneralRe: Measure running time of Consumer - Producer Pin
Mike Nordell16-Sep-02 0:30
Mike Nordell16-Sep-02 0:30 
GeneralRe: Measure running time of Consumer - Producer Pin
valikac16-Sep-02 11:09
valikac16-Sep-02 11:09 
Generalm_ctrEditLocation.ReplaceSel Using String Resource Pin
MJ3215-Sep-02 2:15
MJ3215-Sep-02 2:15 
GeneralRe: m_ctrEditLocation.ReplaceSel Using String Resource Pin
Pavel Klocek15-Sep-02 2:22
Pavel Klocek15-Sep-02 2:22 
You can use CString::LoadString to load the string from string resource and then use the loaded strind in ReplaceSel.

It is of course better to construct the text in memory and then call ReplaceSel once.

MJ32 wrote:
is the resource file the preffered method or this ?
If the text is static then yes, it's good for localization.





Pavel
Sonork 100.15206
GeneralRe: m_ctrEditLocation.ReplaceSel Using String Resource Pin
Gary R. Wheeler15-Sep-02 2:29
Gary R. Wheeler15-Sep-02 2:29 
GeneralOutputting Text into An Edit Control Pin
MJ3215-Sep-02 1:09
MJ3215-Sep-02 1:09 
GeneralRe: Outputting Text into An Edit Control Pin
Pavel Klocek15-Sep-02 1:12
Pavel Klocek15-Sep-02 1:12 
GeneralRe: Outputting Text into An Edit Control Pin
MJ3215-Sep-02 1:39
MJ3215-Sep-02 1:39 
GeneralOpen Text File into Hexadecimal Pin
mzakarni14-Sep-02 23:08
mzakarni14-Sep-02 23:08 
GeneralRe: Open Text File into Hexadecimal Pin
l a u r e n15-Sep-02 0:58
l a u r e n15-Sep-02 0:58 
GeneralRe: Open Text File into Hexadecimal Pin
mzakarni15-Sep-02 2:39
mzakarni15-Sep-02 2:39 
GeneralLogical bug in program Pin
axa14-Sep-02 22:20
axa14-Sep-02 22:20 
GeneralRe: Logical bug in program Pin
Hans Ruck15-Sep-02 5:54
Hans Ruck15-Sep-02 5:54 
GeneralRe: Logical bug in program Pin
axa15-Sep-02 10:44
axa15-Sep-02 10:44 
QuestionCan't a message be peeked in a thread? Pin
Chen Jiadong14-Sep-02 22:04
Chen Jiadong14-Sep-02 22:04 
AnswerRe: Can't a message be peeked in a thread? Pin
Neville Franks14-Sep-02 22:52
Neville Franks14-Sep-02 22:52 
GeneralRe: Can't a message be peeked in a thread? Pin
Chen Jiadong15-Sep-02 1:55
Chen Jiadong15-Sep-02 1:55 
GeneralRe: Can't a message be peeked in a thread? Pin
Neville Franks15-Sep-02 2:16
Neville Franks15-Sep-02 2:16 
GeneralRe: Can't a message be peeked in a thread? Pin
Chen Jiadong15-Sep-02 4:24
Chen Jiadong15-Sep-02 4:24 
QuestionHow to print > 1 copies faster? Pin
Hiusing14-Sep-02 17:22
Hiusing14-Sep-02 17:22 
AnswerRe: How to print > 1 copies faster? Pin
Mike Nordell16-Sep-02 0:37
Mike Nordell16-Sep-02 0:37 

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.