Click here to Skip to main content
15,887,135 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: header file question Pin
Iain Clarke, Warrior Programmer10-Mar-09 7:47
Iain Clarke, Warrior Programmer10-Mar-09 7:47 
AnswerRe: header file question Pin
«_Superman_»10-Mar-09 19:02
professional«_Superman_»10-Mar-09 19:02 
QuestionRe: header file question Pin
CPallini10-Mar-09 19:52
mveCPallini10-Mar-09 19:52 
AnswerRe: header file question Pin
Marcelo Miacca11-Mar-09 2:21
Marcelo Miacca11-Mar-09 2:21 
GeneralRe: header file question Pin
CPallini11-Mar-09 2:35
mveCPallini11-Mar-09 2:35 
QuestionLoading Small System Icons Pin
Steve Thresher10-Mar-09 7:05
Steve Thresher10-Mar-09 7:05 
QuestionReg. DDV_MinMaxInt macro set for a edit control Pin
V K 210-Mar-09 6:41
V K 210-Mar-09 6:41 
AnswerRe: Reg. DDV_MinMaxInt macro set for a edit control Pin
Iain Clarke, Warrior Programmer10-Mar-09 7:45
Iain Clarke, Warrior Programmer10-Mar-09 7:45 
The answer to both of your questions is the same... (which I'm sure you know).

If you debug into the DDV_ functions, they'll eventually call AfxMessageBox, with NULL as the title parameter.

And that will either load the default title from a resource string, or get an CWinApp method, which in turn loads the string.

So the short answer is to look at your resource strings.

If you want different parameters to show different titles on the popup DDV_ failure box, it'll be harder. *IF* the AfxMessageBox calls a CWinApp member function, you may be able to over ride it.

Failing that, you'll have to do your own validation. I don't remember the last time I used DDV_xxx, as I prefer other ways of indicating problems (like turning the background of an edit box red, with a big X next to it, and disabling the OK button).

Good luck, and good learning,

Iain.

Codeproject MVP for C++, I can't believe it's for my lounge posts...

QuestionLinux Text Slowdown- HELP PLEASE Pin
posidonofthecode10-Mar-09 6:26
posidonofthecode10-Mar-09 6:26 
AnswerRe: Linux Text Slowdown- HELP PLEASE Pin
Eytukan10-Mar-09 6:35
Eytukan10-Mar-09 6:35 
GeneralRe: Linux Text Slowdown- HELP PLEASE Pin
posidonofthecode10-Mar-09 6:40
posidonofthecode10-Mar-09 6:40 
JokeRe: Linux Text Slowdown- HELP PLEASE Pin
toxcct10-Mar-09 6:45
toxcct10-Mar-09 6:45 
GeneralRe: Linux Text Slowdown- HELP PLEASE Pin
posidonofthecode10-Mar-09 6:51
posidonofthecode10-Mar-09 6:51 
AnswerRe: Linux Text Slowdown- HELP PLEASE Pin
Eytukan10-Mar-09 7:00
Eytukan10-Mar-09 7:00 
GeneralRe: Linux Text Slowdown- HELP PLEASE Pin
toxcct10-Mar-09 7:04
toxcct10-Mar-09 7:04 
AnswerRe: Linux Text Slowdown- HELP PLEASE Pin
Eytukan10-Mar-09 7:18
Eytukan10-Mar-09 7:18 
GeneralRe: Linux Text Slowdown- HELP PLEASE Pin
CPallini10-Mar-09 9:20
mveCPallini10-Mar-09 9:20 
GeneralRe: Linux Text Slowdown- HELP PLEASE Pin
Eytukan10-Mar-09 9:35
Eytukan10-Mar-09 9:35 
GeneralRe: Linux Text Slowdown- HELP PLEASE Pin
Eytukan10-Mar-09 6:54
Eytukan10-Mar-09 6:54 
GeneralRe: Linux Text Slowdown- HELP PLEASE Pin
CPallini10-Mar-09 9:50
mveCPallini10-Mar-09 9:50 
JokeRe: Linux Text Slowdown- HELP PLEASE Pin
Eytukan10-Mar-09 6:55
Eytukan10-Mar-09 6:55 
GeneralRe: Linux Text Slowdown- HELP PLEASE Pin
Joe Woodbury10-Mar-09 12:47
professionalJoe Woodbury10-Mar-09 12:47 
AnswerRe: Linux Text Slowdown- HELP PLEASE PinPopular
Adam Maras10-Mar-09 6:57
Adam Maras10-Mar-09 6:57 
GeneralRe: Linux Text Slowdown- HELP PLEASE Pin
posidonofthecode10-Mar-09 11:04
posidonofthecode10-Mar-09 11:04 
QuestionOverriding Base Class Members Pin
ForNow10-Mar-09 6:23
ForNow10-Mar-09 6:23 

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.