Hello,
please, could You give a hint or answer....
Im using classical CheckBox for controlling following code:
void CCallThemView::OnBnClickedCheck15()
{
if(m_RunEcgCtrl.GetCheck()==1)
{
m_ECGgraph.Plots.Item("Plot-1").FillToBase =
TRUE;
m_PMpulseGraph.Plots.Item("Plot-1").FillToBase = TRUE;
m_RpulseGraph.Plots.Item("Plot-1").FillToBase = TRUE;
m_ECGgraph.Plots.Item("Plot-1").FillColor = RGB(0, 0,
128);
m_PMpulseGraph.Plots.Item("Plot-1").FillColor = RGB(0, 0, 128);
m_RpulseGraph.Plots.Item("Plot-1").FillColor = RGB(0, 0, 128);
}
else
{
m_ECGgraph.Plots.Item("Plot-1").FillToBase =
FALSE;
m_PMpulseGraph.Plots.Item("Plot-1").FillToBase = FALSE;
m_RpulseGraph.Plots.Item("Plot-1").FillToBase = FALSE;
}
}
My problem is that the program is sometime frozen. It issue from this
function. I'm sure. How can I secure and hold the program to work
properly? Where is the problem?
I'll be glad for any help...
Thank you.
Emta