|
-
September 21st, 1999, 07:30 AM
#1
LVM_FINDITEM or Hot Key's in list views
I have the need to do a hot key search in any column in a list view control. The controls in question are sorted, manipulated, and populated through code. I have been looking at LVM_FINDITEM but have had no success. What I want is the ability to hit a particular key and go to a predefined sub item whos first character matches the key pressed. Any information is greatly appreciated.
-
September 21st, 1999, 07:36 AM
#2
Re: LVM_FINDITEM or Hot Key's in list views
why don't you use the FindItem method of the listview. It allows you to search subitems, too. the lvwSubItem constant in Argument 2 allows you to do that.
-
September 21st, 1999, 10:15 AM
#3
Re: LVM_FINDITEM or Hot Key's in list views
The problem I have found with that is that I am also sorting the list and the list inexes are not being sortecd, only the "view" of the list. This is another problem that I am working on. This causes the items not to be found even though they exist.
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
|