Click here to Skip to main content
15,888,610 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: 890927 - Invalid Input Format exception in sscanf_s Pin
ALLERSLIT18-Dec-10 2:59
ALLERSLIT18-Dec-10 2:59 
GeneralRe: 890927 - Invalid Input Format exception in sscanf_s Pin
ilostmyid218-Dec-10 3:19
professionalilostmyid218-Dec-10 3:19 
AnswerRe: 890927 - Invalid Input Format exception in sscanf_s Pin
Richard MacCutchan18-Dec-10 4:57
mveRichard MacCutchan18-Dec-10 4:57 
GeneralRe: 890927 - Invalid Input Format exception in sscanf_s Pin
ilostmyid218-Dec-10 7:53
professionalilostmyid218-Dec-10 7:53 
GeneralRe: 890927 - Invalid Input Format exception in sscanf_s Pin
Richard MacCutchan18-Dec-10 10:34
mveRichard MacCutchan18-Dec-10 10:34 
GeneralRe: 890927 - Invalid Input Format exception in sscanf_s Pin
ilostmyid218-Dec-10 18:52
professionalilostmyid218-Dec-10 18:52 
GeneralRe: 890927 - Invalid Input Format exception in sscanf_s Pin
Richard MacCutchan18-Dec-10 21:37
mveRichard MacCutchan18-Dec-10 21:37 
GeneralRe: 890927 - Invalid Input Format exception in sscanf_s Pin
ilostmyid219-Dec-10 0:29
professionalilostmyid219-Dec-10 0:29 
all of the problem is that i like to least code, otherwise i would code another CSpinCtrl class as well as another CMFCPropertyGridProperty!
2. i've also to set steps of up and down arrows to 100 instead of increment and decrement. i prefer to use a different class than the original CSpinCtrl instead.
1. i tried to explain accurately! the problem is that the format strings for sprintf_s and sscanf_s do not process similarly. dot in the format string for sscanf_s has no sense while in the format string of sprintf_s has meaning. since the format string for type double or float is only one for both presenting the value or evaluating it, i've to replace the class with another one which i alter by code rounding it and this is what exactly i wanted to avoid.
2. it's the same for a spin ctrl. instead of calling EnableSpinControl for the property, i've to define another function to create another spin ctrl class with the desired functionality and this is also what i wanted to avoid.
i wonder how such great class are coded with such fool limitations!
thanx anyway
GeneralRe: 890927 - Invalid Input Format exception in sscanf_s Pin
Richard MacCutchan19-Dec-10 0:39
mveRichard MacCutchan19-Dec-10 0:39 
GeneralRe: 890927 - Invalid Input Format exception in sscanf_s Pin
ilostmyid219-Dec-10 0:49
professionalilostmyid219-Dec-10 0:49 
GeneralRe: 890927 - Invalid Input Format exception in sscanf_s Pin
jschell19-Dec-10 9:50
jschell19-Dec-10 9:50 
GeneralRe: 890927 - Invalid Input Format exception in sscanf_s Pin
ilostmyid222-Dec-10 19:42
professionalilostmyid222-Dec-10 19:42 
Question'Fake' the freespace of a hdd Pin
ALLERSLIT17-Dec-10 23:54
ALLERSLIT17-Dec-10 23:54 
AnswerRe: 'Fake' the freespace of a hdd Pin
Richard MacCutchan18-Dec-10 4:43
mveRichard MacCutchan18-Dec-10 4:43 
QuestionRe: 'Fake' the freespace of a hdd Pin
David Crow20-Dec-10 3:19
David Crow20-Dec-10 3:19 
QuestionFor Loop & Array Issue. Pin
Mike Certini17-Dec-10 10:48
Mike Certini17-Dec-10 10:48 
AnswerRe: For Loop & Array Issue. Pin
User 742933817-Dec-10 11:01
professionalUser 742933817-Dec-10 11:01 
QuestionMFC CArray vs Vectors [modified] Pin
Software200717-Dec-10 6:54
Software200717-Dec-10 6:54 
AnswerRe: MFC CArray vs Vectors Pin
«_Superman_»17-Dec-10 7:15
professional«_Superman_»17-Dec-10 7:15 
AnswerRe: MFC CArray vs Vectors Pin
Maximilien17-Dec-10 8:01
Maximilien17-Dec-10 8:01 
AnswerRe: MFC CArray vs Vectors Pin
CPallini17-Dec-10 9:38
mveCPallini17-Dec-10 9:38 
QuestionDT_CALCRECT Pin
john563217-Dec-10 5:48
john563217-Dec-10 5:48 
AnswerRe: DT_CALCRECT Pin
Maximilien17-Dec-10 6:40
Maximilien17-Dec-10 6:40 
QuestionMessage Removed Pin
17-Dec-10 2:28
mathivanaan17-Dec-10 2:28 
AnswerRe: how to set X and Y axis range from MFC dialog box? Pin
loyal ginger17-Dec-10 3:01
loyal ginger17-Dec-10 3:01 

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.