What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Question] Scripted LstView scrolling

[Question] Scripted LstView scrolling
Author: Message:
mynetx
Skinning Contest Winner
*****

Avatar
Microsoft insider

Posts: 1175
Reputation: 33
37 / Male / Flag
Joined: Jul 2007
O.P. [Question] Scripted LstView scrolling
There's a Plus! Window.
In it, there's a ListView.
The ListView has a height set to show 20 entries, in Report Mode.
The script adds 30 entries to the list, so the last 10 ones are outside the viewport, and a vertical Y-scrollbar is shown.
Now the script changes entry #25, outside the viewport, using LstView_SetItemText.
How can the script make the ListView scroll down to move that entry into the viewport?
LstView_SetSelectedState will highlight or mark the row, but won't move it into the viewport.

Any help appreciated,
mynetx - Microsoft, enhanced.

You have a problem or issue with Windows, Internet
Explorer or Office?
Send a tweet!
12-10-2007 08:15 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[Question] Scripted LstView scrolling - by mynetx on 12-10-2007 at 08:15 PM
RE: [Question] Scripted LstView scrolling - by Eljay on 12-10-2007 at 08:22 PM
RE: [Question] Scripted LstView scrolling - by mynetx on 12-10-2007 at 08:33 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On