Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 362
  • Last Modified:

Hi! Getting to a position in CListCtrl...

Hi guys (again) , I have a question... how can I move my postion to a certain record in
CListCtrl ( in detail mode).. By using SetItemState, I can 'select'/highlight it but it doesn't
 move to that particular position .. there is one SetItemPos but I need to know the POINT
 values, is there one that uses the (int) index value ? BTW, mine is owner draw list
ClistCtrl...
Thanks ....

David Chong
0
Haho
Asked:
Haho
1 Solution
 
Andy_KeysCommented:
Try EnsureVisible( int nItem, BOOL bPartialOK );

0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now