Is it possible to change the size of a minimized window in MDI C # Winforms


Users complain that when they have several minimized windows in an MDI container, it is impossible to distinguish them if they do not resuspend each. I wonder if it is possible to make the minimized window a little wider, so the text in the title can contain 6 characters?
Thanks in advance!

+3
source share
1 answer

No, It is Immpossible. Windows determines the width of the minimized window using the current system settings, and there is no way to dynamically change this for one application without changing the values ​​throughout the system.

, 160x31. MDI , MDI-, Windows. ( Windows Shell Microsoft) , , , . : 160x31? : , , 160x31? :

iWidth MINIMIZEDMETRICS. SystemParametersInfo. ( SPI_GETMINIMIZEDMETRICS SPI_SETMINIMIZEDMETRICS, .) MinWidth, . , , messing MinWidth , SPI_SETMINIMIZEDMETRICS . , SPI_SETMINIMIZEDMETRICS , , , .

? , " " "". (, SystemParametersInfo, iCaptionHeight NONCLIENTMETRICS.)


, , , P/Invoking SystemParametersInfo function, . , , - . MDI , , . , , , . (TDI), (MDI). ; .

+6

Source: https://habr.com/ru/post/1788117/


All Articles