Click here to Skip to main content
15,892,965 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
JokeRe: thanks Pin
Hamid_RT29-Jan-09 0:48
Hamid_RT29-Jan-09 0:48 
JokeRe: thanks Pin
CPallini29-Jan-09 2:17
mveCPallini29-Jan-09 2:17 
Questionthanks Pin
arad.moradi28-Jan-09 10:19
arad.moradi28-Jan-09 10:19 
AnswerRe: thanks Pin
jeron128-Jan-09 11:11
jeron128-Jan-09 11:11 
AnswerRe: thanks Pin
David Crow28-Jan-09 16:46
David Crow28-Jan-09 16:46 
QuestionManaging unused function/method parameters... Pin
Maximilien28-Jan-09 5:57
Maximilien28-Jan-09 5:57 
AnswerRe: Managing unused function/method parameters... Pin
Stuart Dootson28-Jan-09 7:13
professionalStuart Dootson28-Jan-09 7:13 
AnswerRe: Managing unused function/method parameters... Pin
C Change28-Jan-09 9:40
C Change28-Jan-09 9:40 
Could use overloaded wrapper methods to cope with old/new invocations? e.g. If adding a new parameter for tweaked functionality of a complex legacy method you don't want to mess with - other than the tweak ...

void legacyFunction(int originalParam, bool newFlag)
{
  // Complex legacy code from years back, you just want to tweak using the new boolean ...
  // All the old legacy calls should implicitly run with the flag = false
}

// New overloaded wrapper round old-method-with-new-parameter to synthesise old calling interface
void legacyFunction(int originalParam)
{
  legacyFunction(originalParam, false);
}

AnswerRe: Managing unused function/method parameters... Pin
David Crow28-Jan-09 16:47
David Crow28-Jan-09 16:47 
AnswerRe: Managing unused function/method parameters... Pin
SandipG 28-Jan-09 20:02
SandipG 28-Jan-09 20:02 
QuestionHow to view COLORREF Array into Static Box? Pin
Khathar28-Jan-09 2:46
Khathar28-Jan-09 2:46 
AnswerRe: How to view COLORREF Array into Static Box? Pin
Nishad S28-Jan-09 3:13
Nishad S28-Jan-09 3:13 
QuestionEM_EXSTSEL & EM_SETCHARFORMAT problem ??? Pin
ForNow28-Jan-09 2:40
ForNow28-Jan-09 2:40 
AnswerRe: EM_EXSTSEL & EM_SETCHARFORMAT problem ??? Pin
Code-o-mat28-Jan-09 4:24
Code-o-mat28-Jan-09 4:24 
AnswerRe: EM_EXSTSEL & EM_SETCHARFORMAT problem ??? Pin
Stuart Dootson28-Jan-09 4:30
professionalStuart Dootson28-Jan-09 4:30 
GeneralRe: EM_EXSTSEL & EM_SETCHARFORMAT problem ??? Pin
ForNow28-Jan-09 6:24
ForNow28-Jan-09 6:24 
QuestionTCHAR to const char*? Pin
sam_psycho28-Jan-09 1:47
sam_psycho28-Jan-09 1:47 
QuestionRe: TCHAR to const char*? Pin
«_Superman_»28-Jan-09 2:00
professional«_Superman_»28-Jan-09 2:00 
AnswerRe: TCHAR to const char*? Pin
sam_psycho28-Jan-09 2:08
sam_psycho28-Jan-09 2:08 
GeneralRe: TCHAR to const char*? Pin
Malli_S28-Jan-09 2:21
Malli_S28-Jan-09 2:21 
AnswerRe: TCHAR to const char*? Pin
CPallini28-Jan-09 2:21
mveCPallini28-Jan-09 2:21 
AnswerRe: TCHAR to const char*? Pin
Cedric Moonen28-Jan-09 2:40
Cedric Moonen28-Jan-09 2:40 
QuestionDisplay Format Text into a control Pin
manoharbalu28-Jan-09 0:43
manoharbalu28-Jan-09 0:43 
AnswerRe: Display Format Text into a control Pin
CPallini28-Jan-09 1:00
mveCPallini28-Jan-09 1:00 
GeneralRe: Display Format Text into a control Pin
manoharbalu28-Jan-09 1:24
manoharbalu28-Jan-09 1:24 

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.