Jump to content
Sign in to follow this  
yair

auto resize folder view based on content

Recommended Posts

yair

hi,

i would like to have a script that will "shrink" (auto-resize)a folder window

based on the amount of files/folders in it.

example:

from this>

to this>

any pointers?

Share this post


Link to post
Share on other sites
Yoriz

you could use _GUICtrlListView_ApproximateViewRect to find what size the listview control would need to be and then resize it, and the parent window to suit.

Edited by Yoriz

GDIPlusDispose - A modified version of GDIPlus that auto disposes of its own objects before shutdown of the Dll using the same function Syntax as the original.EzMySql UDF - Use MySql Databases with autoit with syntax similar to SQLite UDF.

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  

×