Solved

Hi! Getting to a position in CListCtrl...

Posted on 1998-07-19
1
280 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
Comment Utility
Try EnsureVisible( int nItem, BOOL bPartialOK );

0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

728 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now