|
-
Jul 2nd, 2002, 03:27 PM
#1
Thread Starter
Fanatic Member
SendMessage string comparing...
VB Code:
Dim lstitem As String
lstitem = ListView1.ListItems.Item
For i = 1 To ListView1.ListItems.Count
y = SendMessage(lstitem.hwnd, LB_FINDSTRING, -1, ByVal File1)
I'm not sure if I did this right. I'm wanting to compare vice versa the following:
VB Code:
x = SendMessage(File1.hwnd, LB_FINDSTRING, -1, ByVal ListView1.ListItems.Item)
Last edited by hipopony66; Jul 2nd, 2002 at 07:13 PM.
-
Jul 2nd, 2002, 03:47 PM
#2
Frenzied Member
VB Code:
x = SendMessage(File1.hwnd, LB_FINDSTRING, -1, ByVal ListView1.ListItems.Item.Text)
MicroBasic
Dragon Shadow Trainer
There is no good or evil in the world...only programmers and fools .
-
Jul 2nd, 2002, 04:12 PM
#3
Thread Starter
Fanatic Member
um......no
I'm wanting to compare the opposite of that. That determines if the string is found in the filelistbox. I want to determine if the string is found in the listview. Hope this makes sense.
-
Jul 2nd, 2002, 07:05 PM
#4
Thread Starter
Fanatic Member
-
Jul 2nd, 2002, 10:22 PM
#5
ListViews are far more complicated. LVM_FINDITEM with an LVFINDINFO UDT is what you need. The only documentation I know about is for C++.
Try www.allapi.net for LVM_FINDINFO and LVFINDITEM information for VB. Sorry
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
|