Dear people out there,
I cant see through the tomatoes on my eyes, so I ask you to help me
overcome my human weakness.
I got the following problem:
I've got 10 sliderbars in defined an array and assigned the controls to
the corresponding ID's.
Here some code, if not enough, I give u more
// the slider bars
DDX_Control(pDX, IDC_SLIDER_COLOR_CHOOSER_1, m_sliderBars[0]);
DDX_Control(pDX, IDC_SLIDER_COLOR_CHOOSER_2, m_sliderBars[1]);
DDX_Control(pDX, IDC_SLIDER_COLOR_CHOOSER_3, m_sliderBars[2]);
DDX_Control(pDX, IDC_SLIDER_COLOR_CHOOSER_4, m_sliderBars[3]);
DDX_Control(pDX, IDC_SLIDER_COLOR_CHOOSER_5, m_sliderBars[4]);
DDX_Control(pDX, IDC_SLIDER_COLOR_CHOOSER_6, m_sliderBars[5]);
DDX_Control(pDX, IDC_SLIDER_COLOR_CHOOSER_7, m_sliderBars[6]);
DDX_Control(pDX, IDC_SLIDER_COLOR_CHOOSER_8, m_sliderBars[7]);
DDX_Control(pDX, IDC_SLIDER_COLOR_CHOOSER_9, m_sliderBars[8]);
DDX_Control(pDX, IDC_SLIDER_COLOR_CHOOSER_10, m_sliderBars[9]);
for (i=0; i<10; i++ ) {
m_sliderBars[i].SetRange(0, 5000);
m_sliderBars[i].SetPos(200);
}
The problem is, the first sliderbar sets its range between 0 and 100
and the position to 0, no mather what I do.
This is not what I want it to do.
Is there anything I did not take into account, or do I really have a
problem and should look for a doctor checking my eyes.
I am desperate, since I dont see, why it wont work.
Would anybody show a little mercy and spend a few minutes for me
please?
Thank you in advance.