Solved

Hi! Getting to a position in CListCtrl...

Posted on 1998-07-19
1
320 Views
Last Modified: 2013-11-20
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
Comment
Question by:Haho
1 Comment
 
LVL 1

Accepted Solution

by:
Andy_Keys earned 50 total points
ID: 1319467
Try EnsureVisible( int nItem, BOOL bPartialOK );

0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question