Click here to Skip to main content
15,899,314 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Handling shell command line Pin
David Crow24-Oct-05 7:07
David Crow24-Oct-05 7:07 
GeneralRe: Handling shell command line Pin
Allad26-Oct-05 9:04
Allad26-Oct-05 9:04 
GeneralRe: Handling shell command line Pin
Allad24-Oct-05 6:51
Allad24-Oct-05 6:51 
GeneralRe: Handling shell command line Pin
Allad24-Oct-05 6:51
Allad24-Oct-05 6:51 
Questionpointers to functions Pin
Mohammad A Gdeisat23-Oct-05 10:52
Mohammad A Gdeisat23-Oct-05 10:52 
AnswerRe: pointers to functions Pin
Chris Losinger23-Oct-05 14:53
professionalChris Losinger23-Oct-05 14:53 
GeneralRe: pointers to functions Pin
Mohammad A Gdeisat24-Oct-05 7:09
Mohammad A Gdeisat24-Oct-05 7:09 
QuestionCombo Box, SetCurSel ( 0 ) Pin
kevincwong23-Oct-05 10:01
kevincwong23-Oct-05 10:01 
Hi,

I created a dialog with a combo box.
I entered a few items ("A;B;C;D") to
the combox box's property->data field.

I know I need to call SetCurSel ( ) function to
sets the combo box's current selection by
a data index. Otherwise, the combo box appers
empty until I drop the list down.

I also read something about fixing the
problem in OnInitDialog ( ).

But I could not find out how they come together.

I think my question is where is "OnInitDialog".

Should I derive a new class from that combo box?
If that is the case, how my dialog display the
same combo box again?

Any suggestions would be appreciated?


Thanks,

Kevin
AnswerRe: Combo Box, SetCurSel ( 0 ) Pin
Graham Bradshaw23-Oct-05 10:22
Graham Bradshaw23-Oct-05 10:22 
AnswerRe: Combo Box, SetCurSel ( 0 ) Pin
Mohammad A Gdeisat23-Oct-05 10:43
Mohammad A Gdeisat23-Oct-05 10:43 
GeneralRe: Combo Box, SetCurSel ( 0 ) Pin
kevincwong23-Oct-05 21:14
kevincwong23-Oct-05 21:14 
GeneralRe: Combo Box, SetCurSel ( 0 ) Pin
S Douglas24-Oct-05 0:17
professionalS Douglas24-Oct-05 0:17 
GeneralRe: Combo Box, SetCurSel ( 0 ) Pin
kevincwong24-Oct-05 6:07
kevincwong24-Oct-05 6:07 
GeneralRe: Combo Box, SetCurSel ( 0 ) Pin
S Douglas24-Oct-05 12:24
professionalS Douglas24-Oct-05 12:24 
QuestionCListCtrl hook error Pin
Member 230136023-Oct-05 6:45
Member 230136023-Oct-05 6:45 
AnswerRe: CListCtrl hook error Pin
steven_wsy23-Oct-05 23:38
steven_wsy23-Oct-05 23:38 
QuestionCTreeView Form Pin
Gamil Mohamad23-Oct-05 4:21
Gamil Mohamad23-Oct-05 4:21 
AnswerRe: CTreeView Form Pin
Member 230136023-Oct-05 6:51
Member 230136023-Oct-05 6:51 
AnswerRe: CTreeView Form Pin
Mohammad A Gdeisat23-Oct-05 10:46
Mohammad A Gdeisat23-Oct-05 10:46 
Question16 Byte alignment support Pin
Remco Hoogenboezem23-Oct-05 4:15
Remco Hoogenboezem23-Oct-05 4:15 
QuestionCGridCtrl Resizing Columns Pin
markdanielmaltby23-Oct-05 3:00
markdanielmaltby23-Oct-05 3:00 
QuestionProblems with DirectX 8 SDK Pin
dudeua23-Oct-05 1:20
dudeua23-Oct-05 1:20 
AnswerRe: Problems with DirectX 8 SDK Pin
Gary R. Wheeler23-Oct-05 1:47
Gary R. Wheeler23-Oct-05 1:47 
GeneralRe: Problems with DirectX 8 SDK Pin
dudeua23-Oct-05 2:09
dudeua23-Oct-05 2:09 
GeneralRe: Problems with DirectX 8 SDK Pin
dudeua23-Oct-05 3:35
dudeua23-Oct-05 3:35 

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.