|
-
May 21st, 1999, 01:30 AM
#1
Scroll to the focused item page in CListCtrl.
I have a search function in my application which is looking from the CListCtrl. I have done the SetItemState and managed to highlight and focus on the item.
My problem is how can I make the CListCtrl to scroll to the focused item's page? Thanks.
-
May 21st, 1999, 01:44 AM
#2
Re: Scroll to the focused item page in CListCtrl.
Use the memberfunction EnsureVisible(int, BOOL)
-
May 21st, 1999, 02:13 AM
#3
Re: Scroll to the focused item page in CListCtrl.
Thanks I got it.
Besides EnsureVisible I just found out that the Scroll class member also can be used to achieve my task. Anyway thanks a lot.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|