Some progress dialogs are resizable under Windows 7

Bug reports will be moved here when the described bug has been fixed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
ts4242
Power Member
Power Member
Posts: 2081
Joined: 2004-02-02, 20:08 UTC
Contact:

Some progress dialogs are resizable under Windows 7

Post by *ts4242 »

Windows 7 has new shortcuts to resize a window e.g. Win+Left and Win+Right

Some progress dialogs are resizable when pressing such shortcuts e.g. Pack, Unpack, Copy

Also these dialogs can be resized by double click on top or bottom window edge when the cursor show the vertical resize icon
User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Post by *Balderstrom »

What is this? A bug report that windows functionality works? Or that it doesn't?
*BLINK* TC9 Added WM_COPYDATA and WM_USER queries for scripting.
User avatar
roentgen
Power Member
Power Member
Posts: 757
Joined: 2005-12-03, 19:58 UTC

Post by *roentgen »

2Balderstrom
Those dialogs are *not* resizable but still with Win+left/right they get resized.
TC for Linux please!
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

I saw thick resizeable border (WS_THICKFRAME style) on some dialogs that TC doesn't allow to resize (e.g. copy and move progress dialog) - I think reason in this border. When I remove this style using window management tool, Windows doesn't allow to resize window using Win+Left/Right anymore.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

TC has to use the thick (resizable) frame in the copy dialogs, because otherwise minimizing doesn't work correctly due to some other Windows bug. Therefore you will unfortunately have to live with this problem.
Author of Total Commander
https://www.ghisler.com
User avatar
ts4242
Power Member
Power Member
Posts: 2081
Joined: 2004-02-02, 20:08 UTC
Contact:

Post by *ts4242 »

2ghisler(Author)

You can intercept Win+Arrow shortcuts in these dialogs.

BTW: Win+Down doesn't minimize TC main window, it just minimize the dialog.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

You can intercept Win+Arrow shortcuts in these dialogs.
Unfortunately system-wide hotkeys cannot be intercepted. :(
Author of Total Commander
https://www.ghisler.com
User avatar
ts4242
Power Member
Power Member
Posts: 2081
Joined: 2004-02-02, 20:08 UTC
Contact:

Post by *ts4242 »

2ghisler(Author)

In your subclassing procedure set MINMAXINFO to the dialog fixed size, I did this in VB6 form, download this file to see yourself, my code is based on this one.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I have considered this too, but the size may have to be changed after getting the minmaxinfo request to change the number of progress bars...
Author of Total Commander
https://www.ghisler.com
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

ghisler(Author) wrote:I have considered this too, but the size may have to be changed after getting the minmaxinfo request to change the number of progress bars...
But you may send MINMAXINFO again in such case. :)
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I will check that.
Author of Total Commander
https://www.ghisler.com
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Fixed in TC 7.55b1 (just window position is changed when using Win+Arrows).
User avatar
ts4242
Power Member
Power Member
Posts: 2081
Joined: 2004-02-02, 20:08 UTC
Contact:

Post by *ts4242 »

Fixed in TC 7.55 beta 1
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks!
Author of Total Commander
https://www.ghisler.com
Post Reply