G
gsegria
Guest
I created a dialog application in Visual Studio MFC.
I create BN_CLICKED function to enable IDC_CHECK1.
I create DOUBLECLICKED function to other functoin.
When i call DOUBLECLICKED function will call BN_CLICKED function .
Any way to call DOUBLECLICKED function and don't call BN_CLICKED function .
==============================
void CMyTest1Dlg:
oStaticFunc(int iSelectIndex)
{
BOOL boCState;
boCState = this->m_chk1[iSelectIndex].GetCheck();
this->m_chk1[iSelectIndex].SetCheck(!boCState);
}
void CMyTest1Dlg::OnBnClickedButton1()
{
// TODO: Add your control notification handler code here
DoStaticFunc(0);
}
void CMyTest1Dlg::OnBnDoubleclickedButton1()
{
// TODO: Add your control notification handler code here
// will do another
}
==============================

Continue reading...
I create BN_CLICKED function to enable IDC_CHECK1.
I create DOUBLECLICKED function to other functoin.
When i call DOUBLECLICKED function will call BN_CLICKED function .
Any way to call DOUBLECLICKED function and don't call BN_CLICKED function .
==============================
void CMyTest1Dlg:

{
BOOL boCState;
boCState = this->m_chk1[iSelectIndex].GetCheck();
this->m_chk1[iSelectIndex].SetCheck(!boCState);
}
void CMyTest1Dlg::OnBnClickedButton1()
{
// TODO: Add your control notification handler code here
DoStaticFunc(0);
}
void CMyTest1Dlg::OnBnDoubleclickedButton1()
{
// TODO: Add your control notification handler code here
// will do another
}
==============================

Continue reading...