1

Topic: Dialogues MFC

Recently (generally since VS2015) noted glitches with data reading from text boxes CDialog. For example, if in the field to enter "0" and to push OK in a variable corresponding to this field any left number registers. But here if in the field to enter the number which is distinct from "0", in a variable the correct value registers. And still that the most interesting if to enter "0.0" - that again in a variable registers the correct value (zero that is). A variable in which are read  in  a field of number of type double. Explicitly  DDX_Text. In what there can be a problem?

2

Re: Dialogues MFC

Hello, ahaos, you wrote: A> Recently (generally since VS2015) noted glitches with data reading from text boxes CDialog. A> For example if in the field to enter "0" and to push OK in a variable, A> corresponding to this field any left number registers. A> but here if in the field to enter the number which is distinct from "0", in a variable the correct value registers. A> and still that the most interesting if to enter "0.0" - that again in a variable registers the correct value (zero that is). A> the Variable in which are read  in  a field of number of type double. A> it is explicit  DDX_Text. In what there can be a problem? Again something refined that MFC would not use. It is necessary to use not the last versions, and proverennye.\still a reference: https://tedwvc.wordpress.com/2015/10/03 … countered/