Click here to Skip to main content
16,006,749 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: MFC: CView and Control Pin
Jake Palmer2-Aug-01 12:16
Jake Palmer2-Aug-01 12:16 
GeneralRe: MFC: CView and Control Pin
Remi Morin17-Aug-01 5:04
Remi Morin17-Aug-01 5:04 
Generalnewbie question Pin
User 81472-Aug-01 5:39
User 81472-Aug-01 5:39 
GeneralRe: newbie question Pin
2-Aug-01 6:10
suss2-Aug-01 6:10 
GeneralRe: newbie question Pin
Remi Morin2-Aug-01 6:14
Remi Morin2-Aug-01 6:14 
GeneralRe: newbie question Pin
Christian Graus2-Aug-01 12:54
protectorChristian Graus2-Aug-01 12:54 
GeneralRe: newbie question Pin
User 81472-Aug-01 13:19
User 81472-Aug-01 13:19 
QuestionDependant ComboBoxen??? Pin
Michael Martin2-Aug-01 4:34
professionalMichael Martin2-Aug-01 4:34 
OK, hope I can explain my question well enough.

I have data I am reading from a database that I am displaying in a ComboBox. Parts display in ComboBox1 and Units displayed in ComboBox2.

Example data might be Screws/Box, Screws/Bag, Screwdriver/Set, Screwdriver/Single etc. When the user selects the Part I want only relevant Units in ComboBox2.

The only way to do this that I can think of is to read the Parts/Units into an array (say CStringArray) and when Part is selected read through array matching Part and listing Unit.

This gives me the advantage of having the Table and Array index in synch though seems to me to be a slow way of finding and displaying the Unit data.

Is there a better way I should be doing this?


Michael Martin
Pegasystems Pty Ltd
Australia
martm@pegasystems.com
+61 413-004-018
AnswerRe: Dependant ComboBoxen??? Pin
Tomasz Sowinski2-Aug-01 5:09
Tomasz Sowinski2-Aug-01 5:09 
GeneralRe: Dependant ComboBoxen??? Pin
Michael Martin2-Aug-01 16:06
professionalMichael Martin2-Aug-01 16:06 
AnswerRe: Dependant ComboBoxen??? Pin
Christian Graus2-Aug-01 16:31
protectorChristian Graus2-Aug-01 16:31 
GeneralDisplay messages when a fullscreen / DirectX program is running Pin
2-Aug-01 3:57
suss2-Aug-01 3:57 
GeneralVisual C and Crystal Report Pin
2-Aug-01 3:54
suss2-Aug-01 3:54 
GeneralFind library which exports a function Pin
Igor Proskuriakov2-Aug-01 3:18
Igor Proskuriakov2-Aug-01 3:18 
GeneralCOleDateTimeSpan Pin
Gérald Mercet2-Aug-01 2:34
Gérald Mercet2-Aug-01 2:34 
QuestionWhat does NT stand for in Windows NT? Pin
James Parker2-Aug-01 2:05
James Parker2-Aug-01 2:05 
AnswerRe: What does NT stand for in Windows NT? Pin
2-Aug-01 2:09
suss2-Aug-01 2:09 
AnswerRe: What does NT stand for in Windows NT? Pin
Tomasz Sowinski2-Aug-01 2:13
Tomasz Sowinski2-Aug-01 2:13 
AnswerRe: What does NT stand for in Windows NT? Pin
2-Aug-01 2:38
suss2-Aug-01 2:38 
GeneralRe: What does NT stand for in Windows NT? Pin
Pierre MEINDRE2-Aug-01 2:51
Pierre MEINDRE2-Aug-01 2:51 
GeneralRe: What does NT stand for in Windows NT? Pin
Anders Molin2-Aug-01 7:29
professionalAnders Molin2-Aug-01 7:29 
GeneralRe: What does NT stand for in Windows NT? Pin
Steve T2-Aug-01 8:14
Steve T2-Aug-01 8:14 
AnswerRe: What does NT stand for in Windows NT? Pin
2-Aug-01 3:06
suss2-Aug-01 3:06 
AnswerRe: What does NT stand for in Windows NT? Pin
Michael Martin2-Aug-01 3:27
professionalMichael Martin2-Aug-01 3:27 
AnswerRe: What does NT stand for in Windows NT? Pin
2-Aug-01 7:40
suss2-Aug-01 7:40 

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.