Kevin,
        Hey that's really cool, I've been looking for something just like
that.. Are you taking bugs and suggestions? Here's my list:

BUG: When you are in a directory that has spaces in it, you can't go up (..)

Suggestions:
Option to always show sizes. (it's annoying to have to click it every time)
Create a file menu, put save(I would call it save as) there and some of the
other standard options.
I would save some of these options in an .ini file and then set those in an
Options menu that are checked/not checked.
Maybe create a button bar with the "up-level" icon (see attachment), save
button, etc....

 <<uplevel.gif>> 
This would be a lot of work but: store sizes in a temp file for quick
retreival (have a button to rescan sizes, and an option to always rescan)

Good work, and keep up the development, I like seeing really useful
win32-gui programs...
I can tell you that I will use this, even as it is, often.
Let us know what your plans are...

                Tim Thomas

----------------------------------------------------------------------------
---------------------
Tim Thomas
Unix Systems Administrator
Lockheed Martin EIS · Denver Data Center
303-430-2281
mailto:[EMAIL PROTECTED]
----------------------------------------------------------------------------
---------------------

> -----Original Message-----
> From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, May 12, 2000 2:57 AM
> To:   [EMAIL PROTECTED]
> Subject:      [perl-win32-gui] Foldersize
> 
> This may be of interest to some of you so thought I'd send it in.  Its a
> simple 
> script for displaying the size of directories.  If you run it and specify
> a 
> directory as a parameter it will list all the subdirectories beneath that 
> directory along with the total size of the subdirectories.  If there is a
> large 
> amount of data in a subdirectory this can take some time to run.
> 
> Clicking on a directory opens up that directory, you can then click the
> Show 
> Sizes checkbox to start scanning.  Column sorting should work for both the
> 
> Folder and Size columns.
> 
> I've only been able to get single clicks recognised in ListViews.  Does
> anyone 
> have any thoughts on how double clicks and right clicks could be used?  I 
> suspect its just not possible with the current version.  I've tried
> everything 
> I can think of (including trying to simulate double clicks by having a
> timer 
> reset a global variable which is set by the ItemClick event) but have had
> no 
> luck.  The annoying thing about this is that you lose the ability to
> select via 
> the keyboard (KeyDown and SelectedItems work but as soon as an item is 
> highlighted the ItemClick event is fired off).
> 
> The other thing that would be good is a better way to work out the
> available 
> drives.  Someone has sent me a TK widget to do this but I haven't had a
> chance 
> to look at it yet.
> 
> Hope this will prove useful to someone,
> 
> Kev.
> 
>  << File: foldersize.zip >> 

uplevel.gif

Reply via email to