|
-
March 28th, 1999, 07:34 PM
#1
Thanks guys!
YES!It worked!I din realized that one little '=' matters so much.Thank you
those who replied.However,I have another problem,using a 'master' combo box,I
want to disable certain 'slave' combo boxes temporarily by clicking the
master combo box.A code snipplet is shown below:
void CTestcomboDlg::OnSelchangeCombo1()
{ // TODO: Add your control notification handler code here
if (m_combo.GetItemData(0))
{
GetDlgItem(IDC_COMBO2)->ShowWindow(SW_HIDE);
}
if (m_combo.GetItemData(1))
{
GetDlgItem(IDC_COMBO3)->ShowWindow(SW_HIDE);
}
if (m_combo.GetItemData(2))
{
GetDlgItem(IDC_COMBO4)->ShowWindow(SW_HIDE);
}
}
m_combo is the 'master' combo box while the rest are 'slave' combo boxes.
Is there anything wrong here?Thanks!
-
March 29th, 1999, 01:41 AM
#2
My problems are solved!
For those who replied,
Really appreciate your help.After trying and trying,all the questions I have
asked are finally solved.But that does not mean I will be gone.Will be
back asking questions soon!Cheers!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|