Click here to Skip to main content
15,900,110 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: To close the child dialog Pin
Ganesh_T30-Apr-06 23:55
Ganesh_T30-Apr-06 23:55 
Questionmemory based Pin
aaaan30-Apr-06 18:24
aaaan30-Apr-06 18:24 
AnswerRe: memory based Pin
YaronNir30-Apr-06 20:46
YaronNir30-Apr-06 20:46 
GeneralRe: memory based Pin
aaaan30-Apr-06 21:22
aaaan30-Apr-06 21:22 
GeneralRe: memory based Pin
YaronNir30-Apr-06 21:23
YaronNir30-Apr-06 21:23 
GeneralRe: memory based Pin
aaaan1-May-06 0:14
aaaan1-May-06 0:14 
QuestionMFC Method Pin
N.Byarley30-Apr-06 18:08
N.Byarley30-Apr-06 18:08 
AnswerRe: MFC Method Pin
Maxwell Chen30-Apr-06 18:31
Maxwell Chen30-Apr-06 18:31 
Double-click on the ComboBox control on the dialog box editor, the wizard will generate you an event handler function.

And then right-click on that ComboBox control again on the dialog box editor, choose Add variable on the context menu, and the Class Wizard pops up for you to name your variable, say m_ctrlCombo for example.

Now back to the event handler,
void CMyDialog::OnMyComboClicked(...)<br />
{<br />
  int iSelection = m_ctrlCombo.GetCurSel();<br />
  if(CB_ERR != iSelection) {<br />
    Calculation();<br />
  }<br />
}



Maxwell Chen
AnswerRe: MFC Method Pin
YaronNir30-Apr-06 20:48
YaronNir30-Apr-06 20:48 
AnswerRe: MFC Method Pin
N.Byarley1-May-06 1:53
N.Byarley1-May-06 1:53 
Questionfunction pointer ,,,easy but not simple Pin
vtalau30-Apr-06 17:04
vtalau30-Apr-06 17:04 
AnswerRe: function pointer ,,,easy but not simple Pin
Stephen Hewitt30-Apr-06 17:06
Stephen Hewitt30-Apr-06 17:06 
AnswerRe: function pointer ,,,easy but not simple Pin
Michael Dunn30-Apr-06 18:53
sitebuilderMichael Dunn30-Apr-06 18:53 
QuestionHai ,How Can we Run a Batch file ? Pin
CodeVarma30-Apr-06 16:31
CodeVarma30-Apr-06 16:31 
AnswerRe: Hai ,How Can we Run a Batch file ? Pin
Maxwell Chen30-Apr-06 18:06
Maxwell Chen30-Apr-06 18:06 
AnswerRe: Hai ,How Can we Run a Batch file ? Pin
Ryan Binns30-Apr-06 18:17
Ryan Binns30-Apr-06 18:17 
AnswerRe: Hai ,How Can we Run a Batch file ? Pin
Michael Dunn30-Apr-06 18:54
sitebuilderMichael Dunn30-Apr-06 18:54 
QuestionHow do i read internet files through C++? Pin
c-wanna-be30-Apr-06 15:34
c-wanna-be30-Apr-06 15:34 
AnswerRe: How do i read internet files through C++? Pin
Hamid_RT30-Apr-06 18:57
Hamid_RT30-Apr-06 18:57 
AnswerRe: How do i read internet files through C++? Pin
YaronNir30-Apr-06 21:20
YaronNir30-Apr-06 21:20 
AnswerRe: How do i read internet files through C++? Pin
_AnsHUMAN_ 30-Apr-06 22:09
_AnsHUMAN_ 30-Apr-06 22:09 
AnswerRe: How do i read internet files through C++? Pin
Ganesh_T1-May-06 0:46
Ganesh_T1-May-06 0:46 
Questionget current directory Pin
rahultaing30-Apr-06 15:13
rahultaing30-Apr-06 15:13 
AnswerRe: get current directory Pin
Demian Panello30-Apr-06 16:29
Demian Panello30-Apr-06 16:29 
QuestionMultiple Views Pin
Demian Panello30-Apr-06 12:24
Demian Panello30-Apr-06 12:24 

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.