Jump to content
Sign in to follow this  
Dexyna

GUICtrlCreateList Problem

Recommended Posts

Dexyna

Hello,

I have this small issue with GUICtrlCreateListView.

What i want to make is a list in which to add data with GUICtrlSetData .

Thing is , if i add data , its added below the last line - but scroll is not moving to follow if the number of "items" added in the GUICtrlCreateListView Box exceeds the height of the box - i hope i do make myself clear :) The more data i add, i cant follow it unless i manually scroll it.

Also, is there a way to add new items on the top of the list ? maybe with GUICtrlCreateListView or GUICtrlCreateList ? Either is fine if possible.

Thanks alot and hope to solve this if possible.

Share this post


Link to post
Share on other sites
Dexyna

Found a workaround :)

GUICtrlSendMsg($ListName, $WM_VSCROLL, $SB_LINEDOWN, 0) ;Scroll the ListBox control

Cheers!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×