Click here to Skip to main content
15,924,318 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralForcing a range validation of an edit box before a scrollbar command is activated Pin
brewer_d9-Aug-01 6:09
brewer_d9-Aug-01 6:09 
GeneralCComboBox Messages Pin
Michael Martin9-Aug-01 5:49
professionalMichael Martin9-Aug-01 5:49 
GeneralRe: CComboBox Messages Pin
Carlos Antollini9-Aug-01 6:06
Carlos Antollini9-Aug-01 6:06 
GeneralRe: CComboBox Messages Pin
Michael Martin9-Aug-01 6:16
professionalMichael Martin9-Aug-01 6:16 
GeneralRe: CComboBox Messages Pin
Carlos Antollini9-Aug-01 6:30
Carlos Antollini9-Aug-01 6:30 
GeneralRe: CComboBox Messages Pin
Michael Martin9-Aug-01 6:34
professionalMichael Martin9-Aug-01 6:34 
GeneralRe: CComboBox Messages Pin
Tomasz Sowinski9-Aug-01 6:28
Tomasz Sowinski9-Aug-01 6:28 
GeneralRe: CComboBox Messages Pin
Michael Martin9-Aug-01 6:47
professionalMichael Martin9-Aug-01 6:47 
Tomasz

I am not calling UpdateData() to load data into the second ComboBox only to determine what was selected in the first ComboBox.

ComboBoxes are CBS_DROPDOWN not CBS_DROPDOWNLIST as I am using Chris Maunder's Auto Completion ComboBox and it needs to allow typing in the EditBox.

In the CBN_SELENDOK of m_cCombo1 I call UpdateData(), m_cCombo2.ResetContent(), then check m_strCombo1 for selected value to determine what to put into second ComboBox and use m_cCombo2.AddString() to add the data to second ComboBox.

Think the answer maybe to use m_cCombo1.GetLBText(m_cCombo1.GetCurSel(), strRslt); Will try it out in the morning, 2:45 AM better get to bed.


Michael Martin
Pegasystems Pty Ltd
Australia
martm@pegasystems.com
+61 413-004-018
Generalin vc6.0 and mfc4.2 's link.exe 's error Pin
9-Aug-01 5:29
suss9-Aug-01 5:29 
GeneralRe: in vc6.0 and mfc4.2 's link.exe 's error Pin
Ben Burnett9-Aug-01 9:24
Ben Burnett9-Aug-01 9:24 
GeneralRecording keystrock international issue Pin
9-Aug-01 5:21
suss9-Aug-01 5:21 
QuestionDrawing ActiveX ctrls into memory? Pin
9-Aug-01 5:14
suss9-Aug-01 5:14 
GeneralHelp! Checkboxes in CListCtrl's Pin
Sprudling9-Aug-01 4:33
Sprudling9-Aug-01 4:33 
GeneralRe: Help! Checkboxes in CListCtrl's Pin
Tomasz Sowinski9-Aug-01 4:43
Tomasz Sowinski9-Aug-01 4:43 
GeneralRe: Help! Checkboxes in CListCtrl's Pin
Sprudling9-Aug-01 5:32
Sprudling9-Aug-01 5:32 
GeneralRe: Help! Checkboxes in CListCtrl's Pin
Tomasz Sowinski9-Aug-01 5:37
Tomasz Sowinski9-Aug-01 5:37 
GeneralDC-conversion from 32 to 8 bit Pin
9-Aug-01 2:17
suss9-Aug-01 2:17 
GeneralRe: DC-conversion from 32 to 8 bit Pin
Reno Tiko9-Aug-01 3:20
Reno Tiko9-Aug-01 3:20 
GeneralRe: DC-conversion from 32 to 8 bit Pin
9-Aug-01 5:02
suss9-Aug-01 5:02 
GeneralSublassing CEdit from CTreeCtrl with edit labels style Pin
9-Aug-01 1:49
suss9-Aug-01 1:49 
GeneralRe: Sublassing CEdit from CTreeCtrl with edit labels style Pin
Tomasz Sowinski9-Aug-01 2:45
Tomasz Sowinski9-Aug-01 2:45 
GeneralRe: Sublassing CEdit from CTreeCtrl with edit labels style Pin
9-Aug-01 3:04
suss9-Aug-01 3:04 
GeneralRe: Sublassing CEdit from CTreeCtrl with edit labels style Pin
Michael Dunn9-Aug-01 2:53
sitebuilderMichael Dunn9-Aug-01 2:53 
GeneralWeird, weird, weird request! Pin
9-Aug-01 1:32
suss9-Aug-01 1:32 
GeneralRe: Weird, weird, weird request! Pin
Tomasz Sowinski9-Aug-01 2:42
Tomasz Sowinski9-Aug-01 2:42 

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.