|
-
Nov 29th, 2005, 07:32 PM
#1
Thread Starter
Member
Go down a list box(3rd party)
So i tried
VB Code:
Private Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hWnd As Long, ByVal wMsg As Long, ByVal wParam As Long, lParam As Any) As Long
Private Const SB_LINEDOWN = 1
Private Const SB_pagedown = 1
Call SendMessage(LISTBOXHWND, WM_VSCROLL, SB_LINEDOWN, ByVal 0&)
No idea what const's do/mean and what effect it has by changing them but anyhow.
Basically right now it uses the scroll bar and moves it down, revealing more of the list.
Well this isn't what i wanted, i want it to go down the list highlighting each item as it goes down. When it gets to the end it can stop!
Anyone have the code? If you could save me time and type it out that'd be awesome.
If you have neteller i may even send some money depending on results
-
Nov 30th, 2005, 10:59 AM
#2
Re: Go down a list box(3rd party)
Welcome to the forums. 
Items highlighted in a listbox get highlighted because they are selected. So, basically, all you want to do is select all items in a listbox, is that correct?
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
|