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

C / C++ / MFC

 
GeneralRe: edit box vector Pin
francescot23-Jan-06 9:17
francescot23-Jan-06 9:17 
GeneralRe: edit box vector Pin
Chris Losinger23-Jan-06 9:30
professionalChris Losinger23-Jan-06 9:30 
GeneralRe: edit box vector Pin
francescot23-Jan-06 11:16
francescot23-Jan-06 11:16 
GeneralRe: edit box vector Pin
Chris Losinger23-Jan-06 12:23
professionalChris Losinger23-Jan-06 12:23 
GeneralRe: edit box vector Pin
francescot24-Jan-06 9:23
francescot24-Jan-06 9:23 
GeneralRe: edit box vector Pin
Chris Losinger24-Jan-06 9:41
professionalChris Losinger24-Jan-06 9:41 
GeneralRe: edit box vector Pin
francescot24-Jan-06 10:23
francescot24-Jan-06 10:23 
GeneralRe: edit box vector Pin
Chris Losinger24-Jan-06 10:44
professionalChris Losinger24-Jan-06 10:44 
francescot wrote:
which is illegal because DDX control does not accept vectors


weight[x] is an int?

what about DDX_Text(pDX, IDC_EDIT_Weights101, weight[1]);

DDX_Control maps to a CWnd. but DDX_Text maps to int, float, CString, etc..

---

and, just FYI, if you can ensure that the IDs for the edit controls always fall into a fixed range, you can use the ON_CONTROL_RANGE[^] macro to handle the EN_CHANGE message. that will provide your handler the control ID - a little cleaner than using that macro i posted yesterday, but requires some diligence around the resource IDs.


Cleek | Image Toolkits | Thumbnail maker

GeneralRe: edit box vector Pin
francescot24-Jan-06 10:58
francescot24-Jan-06 10:58 
GeneralRe: edit box vector Pin
Chris Losinger24-Jan-06 12:03
professionalChris Losinger24-Jan-06 12:03 
QuestionHow to align Number(currency) to right Pin
mikobi23-Jan-06 4:47
mikobi23-Jan-06 4:47 
AnswerRe: How to align Number(currency) to right Pin
Cedric Moonen23-Jan-06 4:54
Cedric Moonen23-Jan-06 4:54 
GeneralRe: How to align Number(currency) to right Pin
mikobi23-Jan-06 6:23
mikobi23-Jan-06 6:23 
AnswerRe: How to align Number(currency) to right Pin
toxcct23-Jan-06 5:09
toxcct23-Jan-06 5:09 
GeneralRe: How to align Number(currency) to right Pin
mikobi23-Jan-06 6:29
mikobi23-Jan-06 6:29 
GeneralRe: How to align Number(currency) to right Pin
mikobi23-Jan-06 6:36
mikobi23-Jan-06 6:36 
GeneralRe: How to align Number(currency) to right Pin
Cedric Moonen23-Jan-06 7:00
Cedric Moonen23-Jan-06 7:00 
AnswerRe: How to align Number(currency) to right Pin
David Crow23-Jan-06 7:54
David Crow23-Jan-06 7:54 
GeneralRe: How to align Number(currency) to right Pin
mikobi23-Jan-06 20:50
mikobi23-Jan-06 20:50 
GeneralRe: How to align Number(currency) to right Pin
David Crow24-Jan-06 2:48
David Crow24-Jan-06 2:48 
GeneralRe: How to align Number(currency) to right Pin
mikobi23-Jan-06 21:22
mikobi23-Jan-06 21:22 
QuestionRead Hex Chars from keyboard Pin
bachirzantou23-Jan-06 4:40
bachirzantou23-Jan-06 4:40 
AnswerRe: Read Hex Chars from keyboard Pin
Cedric Moonen23-Jan-06 4:52
Cedric Moonen23-Jan-06 4:52 
GeneralRe: Read Hex Chars from keyboard Pin
bachirzantou23-Jan-06 5:15
bachirzantou23-Jan-06 5:15 
GeneralRe: Read Hex Chars from keyboard Pin
Bob Stanneveld23-Jan-06 10:31
Bob Stanneveld23-Jan-06 10:31 

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.