MFC List Control
-
Hi , I am a novice to VC (MFC). I want to add a listcontrol on propertypage, such that it contains no. from 1 to 10 When I press scroll up button of listcontrol, the number in the list control should decrease and on pressing scroll down button the number should increase. Hope I made my need clear and specific.Please help me out! Drushti
-
Hi , I am a novice to VC (MFC). I want to add a listcontrol on propertypage, such that it contains no. from 1 to 10 When I press scroll up button of listcontrol, the number in the list control should decrease and on pressing scroll down button the number should increase. Hope I made my need clear and specific.Please help me out! Drushti
Drushti wrote: I want to add a listcontrol on propertypage, such that it contains no. from 1 to 10 How about this:
for (int x = 0; x < 10; x++)
{
str.Format("%d", x + 1);
m_listcontrol.InsertItem(x, str);
}
"Opinions are neither right nor wrong. I cannot change your opinion of me. I can, however, change what influences your opinion." - David Crow