Click here to Skip to main content
15,921,622 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to change the background of a CHotkeyCtrl ? Pin
CAE23-Oct-02 9:12
CAE23-Oct-02 9:12 
AnswerRe: How to change the background of a CHotkeyCtrl ? Pin
Mike Nordell24-Oct-02 4:09
Mike Nordell24-Oct-02 4:09 
Generalhtml help workshop question Pin
Anonymous23-Oct-02 8:48
Anonymous23-Oct-02 8:48 
GeneralRe: html help workshop question Pin
Dominik Reichl23-Oct-02 9:15
Dominik Reichl23-Oct-02 9:15 
QuestionHow do i replace a specific string inside a char array with another string? Pin
Anonymous23-Oct-02 8:28
Anonymous23-Oct-02 8:28 
AnswerRe: How do i replace a specific string inside a char array with another string? Pin
Mel Feik23-Oct-02 8:36
Mel Feik23-Oct-02 8:36 
GeneralRe: How do i replace a specific string inside a char array with another string? Pin
Anonymous23-Oct-02 8:39
Anonymous23-Oct-02 8:39 
GeneralRe: How do i replace a specific string inside a char array with another string? Pin
Mel Feik23-Oct-02 9:01
Mel Feik23-Oct-02 9:01 
You can't directly (not that I'm aware of anyways. However, one way would be to declare a CString and set it to your char array (CString str = charArray;) and them use the CString members mentioned earlier, are you could use the <string.h> functions such as strcat(), strcpy(), etc... Personally I prefer working with the CString as that wrapper class seems more flexible to me (or maybe its just cause I'm used to it). Either way would work fine and of course, you could also just use pointers and remove/replace in your char array as you like.

---------------------------------------------

Be good! But if you can't be good, at least be good at it and try not to get any on ya!

-mjf
GeneralSplash screen Pin
MFC is the Best23-Oct-02 8:01
MFC is the Best23-Oct-02 8:01 
GeneralRe: Splash screen Pin
jmkhael23-Oct-02 8:03
jmkhael23-Oct-02 8:03 
GeneralRe: Splash screen Pin
MFC is the Best23-Oct-02 8:08
MFC is the Best23-Oct-02 8:08 
Generallinking libs in... Pin
l a u r e n23-Oct-02 7:39
l a u r e n23-Oct-02 7:39 
GeneralRe: linking libs in... Pin
Stephane Rodriguez.23-Oct-02 7:43
Stephane Rodriguez.23-Oct-02 7:43 
GeneralRe: linking libs in... Pin
l a u r e n23-Oct-02 7:51
l a u r e n23-Oct-02 7:51 
GeneralMy dialog based app. don't run on another machine (ActiveX???) Pin
whofmans23-Oct-02 7:37
whofmans23-Oct-02 7:37 
GeneralRe: My dialog based app. don't run on another machine (ActiveX???) Pin
Stephane Rodriguez.23-Oct-02 7:53
Stephane Rodriguez.23-Oct-02 7:53 
GeneralMFC ON_CBN_EDITCHANGE message handler never called! Pin
Daniel Strigl23-Oct-02 7:35
Daniel Strigl23-Oct-02 7:35 
GeneralRe: MFC ON_CBN_EDITCHANGE message handler never called! Pin
valikac23-Oct-02 7:58
valikac23-Oct-02 7:58 
GeneralRe: MFC ON_CBN_EDITCHANGE message handler never called! Pin
Daniel Strigl23-Oct-02 19:59
Daniel Strigl23-Oct-02 19:59 
GeneralANSI --> UNICODE conversion problem! Pin
Daniel Strigl23-Oct-02 7:26
Daniel Strigl23-Oct-02 7:26 
GeneralRe: ANSI --> UNICODE conversion problem! Pin
l a u r e n23-Oct-02 7:41
l a u r e n23-Oct-02 7:41 
GeneralRe: ANSI --> UNICODE conversion problem! Pin
Daniel Strigl23-Oct-02 8:10
Daniel Strigl23-Oct-02 8:10 
GeneralRe: ANSI --> UNICODE conversion problem! Pin
Stephane Rodriguez.23-Oct-02 7:45
Stephane Rodriguez.23-Oct-02 7:45 
GeneralRe: ANSI --> UNICODE conversion problem! Pin
Daniel Strigl23-Oct-02 8:00
Daniel Strigl23-Oct-02 8:00 
GeneralRe: ANSI --> UNICODE conversion problem! Pin
Michael Dunn23-Oct-02 13:35
sitebuilderMichael Dunn23-Oct-02 13:35 

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.