edit boxes linking
-
Hello; 1)I need a way to link 225 edit boxes as one group and give each one of them an index and call them individually by their indices instead of their IDs. after that i will take their inputs to fill up a matrix 15*15. 2)the above technique i have made to make a matrix 15*15 of user defined inputs. if anyone has another elegant technique which enables me to fill a matrix 15*15 with the user inputs , i'll be glad to hear from him. i don't want to use the excel spread sheet active X control !! thx Eliyah
-
Hello; 1)I need a way to link 225 edit boxes as one group and give each one of them an index and call them individually by their indices instead of their IDs. after that i will take their inputs to fill up a matrix 15*15. 2)the above technique i have made to make a matrix 15*15 of user defined inputs. if anyone has another elegant technique which enables me to fill a matrix 15*15 with the user inputs , i'll be glad to hear from him. i don't want to use the excel spread sheet active X control !! thx Eliyah
Oriented wrote: i don't want to use the excel spread sheet active X control !! How about a grid control, then?
"The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)
-
Hello; 1)I need a way to link 225 edit boxes as one group and give each one of them an index and call them individually by their indices instead of their IDs. after that i will take their inputs to fill up a matrix 15*15. 2)the above technique i have made to make a matrix 15*15 of user defined inputs. if anyone has another elegant technique which enables me to fill a matrix 15*15 with the user inputs , i'll be glad to hear from him. i don't want to use the excel spread sheet active X control !! thx Eliyah
Two possible approaches: 1) Make sure the IDs are in cosecutive order then access them like so HWND hCtrl = GetDlgItem(ID_EDIT1+nIndex), or something like that. 2) Create an array containing the IDs of the controls then access them like so HWND hCtrl = GetDlgItem(idArray[nIndex]). These are simple methods that do not require any external controls other than the edit boxes. INTP
-
Two possible approaches: 1) Make sure the IDs are in cosecutive order then access them like so HWND hCtrl = GetDlgItem(ID_EDIT1+nIndex), or something like that. 2) Create an array containing the IDs of the controls then access them like so HWND hCtrl = GetDlgItem(idArray[nIndex]). These are simple methods that do not require any external controls other than the edit boxes. INTP