Click here to Skip to main content
15,900,254 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: differentiating between literal strings and char pointers Pin
led mike3-Aug-07 7:15
led mike3-Aug-07 7:15 
QuestionRe: differentiating between literal strings and char pointers Pin
David Crow3-Aug-07 5:10
David Crow3-Aug-07 5:10 
AnswerRe: differentiating between literal strings and char pointers Pin
dburns3-Aug-07 5:43
dburns3-Aug-07 5:43 
AnswerRe: differentiating between literal strings and char pointers Pin
cp98763-Aug-07 18:30
cp98763-Aug-07 18:30 
GeneralRe: differentiating between literal strings and char pointers Pin
dburns4-Aug-07 4:05
dburns4-Aug-07 4:05 
Questionproblem with radio button and UpdateData Pin
m.dietz3-Aug-07 4:13
m.dietz3-Aug-07 4:13 
AnswerRe: problem with radio button and UpdateData Pin
led mike3-Aug-07 4:52
led mike3-Aug-07 4:52 
GeneralRe: problem with radio button and UpdateData Pin
m.dietz5-Aug-07 20:11
m.dietz5-Aug-07 20:11 
Disabling the button is not possible, as the condition that defines whether this selection is allowed cannot be tested at OnInitDialog(). Anyway even if I found a way to test it there, the software requirement specification orders this interface behaviour (Maybe our product managers think that the user is not able to determine by his own how to enable that button if I disable it, and that's why he has to be told when trying to select this option... ).

That I trigger an event within an event handler should not be that unusual, I also use UpdateData(FALSE) in OnInitDialog() and UpdateData(TRUE) in OnOK(), well, I didn't test if those event routines also are called twice, but I don't think so. As I said, I would understand it if I got an BN_CLICKED on the new radio button, because changing the button in the GUI by UpdateData() is like clicking on it, but I get this event on the old button again and that's what irritates me.
GeneralRe: problem with radio button and UpdateData Pin
led mike6-Aug-07 5:29
led mike6-Aug-07 5:29 
AnswerRe: problem with radio button and UpdateData Pin
David Crow3-Aug-07 5:07
David Crow3-Aug-07 5:07 
GeneralRe: problem with radio button and UpdateData Pin
m.dietz5-Aug-07 20:28
m.dietz5-Aug-07 20:28 
GeneralRe: problem with radio button and UpdateData Pin
David Crow6-Aug-07 2:56
David Crow6-Aug-07 2:56 
GeneralRe: problem with radio button and UpdateData Pin
m.dietz6-Aug-07 20:43
m.dietz6-Aug-07 20:43 
AnswerRe: problem with radio button and UpdateData Pin
Hans Dietrich3-Aug-07 7:57
mentorHans Dietrich3-Aug-07 7:57 
GeneralRe: problem with radio button and UpdateData [modified] Pin
m.dietz5-Aug-07 20:20
m.dietz5-Aug-07 20:20 
QuestionRetrieve the length of an int Pin
Perspx3-Aug-07 4:02
Perspx3-Aug-07 4:02 
AnswerRe: Retrieve the length of an int Pin
Rage3-Aug-07 4:11
professionalRage3-Aug-07 4:11 
GeneralRe: Retrieve the length of an int Pin
Perspx3-Aug-07 4:14
Perspx3-Aug-07 4:14 
GeneralRe: Retrieve the length of an int Pin
David Crow3-Aug-07 4:22
David Crow3-Aug-07 4:22 
GeneralRe: Retrieve the length of an int Pin
LordMarv3-Aug-07 4:34
LordMarv3-Aug-07 4:34 
AnswerRe: Retrieve the length of an int Pin
David Crow3-Aug-07 4:12
David Crow3-Aug-07 4:12 
GeneralRe: Retrieve the length of an int Pin
Perspx3-Aug-07 4:15
Perspx3-Aug-07 4:15 
GeneralRe: Retrieve the length of an int Pin
David Crow3-Aug-07 4:23
David Crow3-Aug-07 4:23 
GeneralRe: Retrieve the length of an int Pin
Perspx3-Aug-07 4:26
Perspx3-Aug-07 4:26 
GeneralRe: Retrieve the length of an int Pin
CPallini3-Aug-07 4:27
mveCPallini3-Aug-07 4:27 

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.