Click here to Skip to main content
15,898,984 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: mfc activeX control Pin
AlexO8-Jul-03 3:55
AlexO8-Jul-03 3:55 
GeneralRe: mfc activeX control Pin
gucy8-Jul-03 15:21
gucy8-Jul-03 15:21 
GeneralRe: mfc activeX control Pin
gucy8-Jul-03 16:28
gucy8-Jul-03 16:28 
GeneralCEditView MFC app Pin
Jay Hova8-Jul-03 1:38
Jay Hova8-Jul-03 1:38 
GeneralRe: CEditView MFC app Pin
Iain Clarke, Warrior Programmer8-Jul-03 2:03
Iain Clarke, Warrior Programmer8-Jul-03 2:03 
GeneralRe: CEditView MFC app Pin
Jay Hova8-Jul-03 2:45
Jay Hova8-Jul-03 2:45 
GeneralComboBox inside of CDialog Pin
pdunn8-Jul-03 1:37
pdunn8-Jul-03 1:37 
GeneralRe: ComboBox inside of CDialog Pin
Iain Clarke, Warrior Programmer8-Jul-03 1:59
Iain Clarke, Warrior Programmer8-Jul-03 1:59 
The combobox "data" you type in using the resource editor actually exists as a separate resource
(DLGINIT) in the rc file. This is referenced when a dialog box is created, but presumably not
for a dialog bar.

Fortunately, it is not difficult to add items to a combo box.

After creating the dialog bar, get a pointer to the combo box.

CComboBox *cb = (CComboBox *) (pBar->GetDlgItem (IDC_MYCOMBO));
cb->AddString (....);
cb->SetCurSel (....);


Iain.
GeneralRe: ComboBox inside of CDialog Pin
pdunn8-Jul-03 2:40
pdunn8-Jul-03 2:40 
QuestionHow to do a ListBox by self? Pin
David12158-Jul-03 1:04
David12158-Jul-03 1:04 
AnswerRe: How to do a ListBox by self? Pin
Iain Clarke, Warrior Programmer8-Jul-03 1:47
Iain Clarke, Warrior Programmer8-Jul-03 1:47 
GeneralRe: How to do a ListBox by self? Pin
David12158-Jul-03 15:34
David12158-Jul-03 15:34 
GeneralADO connection pooling Pin
Imtiaz Murtaza8-Jul-03 0:09
Imtiaz Murtaza8-Jul-03 0:09 
Questioncout vs. printf? Pin
DaveE9th7-Jul-03 23:56
DaveE9th7-Jul-03 23:56 
AnswerRe: cout vs. printf? Pin
Rage8-Jul-03 0:42
professionalRage8-Jul-03 0:42 
GeneralRe: cout vs. printf? Pin
Rickard Andersson208-Jul-03 2:15
Rickard Andersson208-Jul-03 2:15 
GeneralRe: cout vs. printf? Pin
Rage8-Jul-03 3:23
professionalRage8-Jul-03 3:23 
GeneralRe: cout vs. printf? Pin
Ryan Binns8-Jul-03 3:50
Ryan Binns8-Jul-03 3:50 
GeneralRe: cout vs. printf? Pin
keegan8-Jul-03 3:23
keegan8-Jul-03 3:23 
AnswerRe: cout vs. printf? Pin
AlexO8-Jul-03 3:59
AlexO8-Jul-03 3:59 
GeneralRe: cout vs. printf? Pin
DaveE9th8-Jul-03 8:16
DaveE9th8-Jul-03 8:16 
Questionbinary sort function? Pin
DaveE9th7-Jul-03 23:08
DaveE9th7-Jul-03 23:08 
AnswerRe: binary sort function? Pin
Ryan Binns7-Jul-03 23:28
Ryan Binns7-Jul-03 23:28 
GeneralRe: binary sort function? Pin
DaveE9th8-Jul-03 0:17
DaveE9th8-Jul-03 0:17 
GeneralRe: binary sort function? Pin
Ryan Binns8-Jul-03 0:23
Ryan Binns8-Jul-03 0:23 

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.