Make Progress Window Resizable

Here you can propose new features, make suggestions etc.

Moderators: Stefan2, white, sheep, Hacker

Post Reply
User avatar
Thoemmeli
Junior Member
Junior Member
Posts: 3
Joined: 2006-12-27, 11:13 UTC
Location: Allenwinden, CH

Make Progress Window Resizable

Post by *Thoemmeli » 2017-08-06, 07:13 UTC

The copy progress window shows a resizable arrow at the edge, but is not resizable.
Especially when using long file names, a lot of the "From" directory is being truncated (see screen shot). It would be nice to make this progress window resizable to see more of the "From" directory.
Image: https://1drv.ms/i/s!Aqc_5FUalch0iOUopLXLutncYlBJ4w

Tom
Don't try to bend the spoon - there is no spoon.

User avatar
DrShark
Power Member
Power Member
Posts: 1113
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262

Re: Make Progress Window Resizable

Post by *DrShark » 2017-08-07, 20:18 UTC

Thoemmeli wrote:The copy progress window shows a resizable arrow at the edge, but is not resizable.
It's interesting that the tool ResizeEnable which I use to resize Windows OnScreen Keyboard in Vista can't resize TC copy progress window (though I'm not sure the resizing using such a hack would allow to show more characters of filenames in that window, because for some apps it also changes the size of the font.)
Android 4.3.1 no root, kernel 08.09.2016; Vista Home Premium SP2 rus 32 bit
TC #149847 Personal licence

Cuz we're all in this together, We're here to make it right

User avatar
MVV
Power Member
Power Member
Posts: 8144
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV » 2017-08-07, 21:20 UTC

It is not enough to resize window itself, you need to resize text labels but labels are not separate windows in Delphi, they are virtual and are drawn directly to form, so only code is able to resize them.

And, resizing may be limited by setting window min/max size bounds, if you send WM_GETMINMAXINFO message to that window, you'll get following MINMAXINFO structure:

Code: Select all

ptMaxSize       {x=455 y=192}
ptMaxPosition   {x=0 y=0}
ptMinTrackSize  {x=455 y=192}
ptMaxTrackSize  {x=455 y=192}
So, size tracking is only allowed within zero range, and Windows will not allow to set another size until such limitation is active...

tomas.kuba
New Member
New Member
Posts: 1
Joined: 2007-12-17, 10:26 UTC
Location: Plzen, Czech Republic

Re: Make Progress Window Resizable

Post by *tomas.kuba » 2018-08-17, 07:45 UTC

+1 for this suggestion. When you copy many files with deep folder structure you cannot even guess the file path. Is it possible to allow resizing at least in horizontal direction?

User avatar
Usher
Member
Member
Posts: 141
Joined: 2011-03-11, 10:11 UTC

Re: Make Progress Window Resizable

Post by *Usher » 2018-08-17, 13:51 UTC

I think that currently resize may work only for a single file. When TC starts copying a new file, it probably refreshes dialog window with default size, so you can't see any result when copying small files.
Regards from Poland
Andrzej P. Wozniak

Post Reply