wangnanjing
September 9th, 2002, 11:35 AM
hi,everyone:
I use the clistctrl control for my displaying of the data in the database.
Now,after I add a new line to it,I want to scroll to the highlighted new line automatically.i use the
LPINT lpMinPos;
LPINT lpMaxPos;
m_materialList.GetScrollRange(SB_VERT,lpMinPos,lpMaxPos);
But it always said the lpMaxPos is not defined.
It's weired.
can you help me?
thanks a lot.
wangnj
I use the clistctrl control for my displaying of the data in the database.
Now,after I add a new line to it,I want to scroll to the highlighted new line automatically.i use the
LPINT lpMinPos;
LPINT lpMaxPos;
m_materialList.GetScrollRange(SB_VERT,lpMinPos,lpMaxPos);
But it always said the lpMaxPos is not defined.
It's weired.
can you help me?
thanks a lot.
wangnj