I know I can retrieve the current scrolled position of a list view control by using;
Position = CONTROLCMD(win,id, @LVGETTOPINDEX)
It would be real nice to have a way to set it with something like,
ControlCMD(win,id,@LVSETOPINDEX,Postion)
Thus having program control over the scrolled position.
Is there a fairly simple way to do this?
I use this approach:
SetID "LVM_EnsureVisible",4115
ControlCmd(ThreadWin,lstTapDrillSizes,@LVSetSelected,100)
SendMessage(ThreadWin,@LVM_EnsureVisible,100,0,lstTapDrillSizes)
That did the trick. Thanks, works great and easy to use. Just the way I need it.
Jim Scott