xsharp.eu • Dialog size behaviour: VO dialog appears narrower (only width!) in X# - Page 4
Page 4 of 4

Dialog size behaviour: VO dialog appears narrower (only width!) in X#

Posted: Thu Jul 20, 2023 7:00 am
by leon-ts
Hello Karl,
On my computer (Windows 10), this option only has an effect on dialog boxes (the title size becomes smaller in height). And it has no effect on the DataWindow.

Extra Command Line Options: nothing
DialogWindow (standard title height):
DialogWindow1.png
DialogWindow1.png (942 Bytes) Viewed 387 times
DataWindow:
DataWindow2.png
DataWindow2.png (1.76 KiB) Viewed 387 times
Extra Command Line Options: /subsystemversion:5.00
DialogWindow (reduced title height):
DialogWindow2.png
DialogWindow2.png (877 Bytes) Viewed 387 times
DataWindow:
DataWindow2.png
DataWindow2.png (1.76 KiB) Viewed 387 times

Dialog size behaviour: VO dialog appears narrower (only width!) in X#

Posted: Thu Jul 20, 2023 7:09 am
by ecos
Hi Leonid,

in my datawindows I have by default:

SUPER:init(oOwner)
SELF:EnableBorder(WINDOWNONSIZINGBORDER )
SELF:EnableMinBox(FALSE)
SELF:EnableMaxBox(FALSE)

So no sizing borders. This should look the same on all Windows-versions. I assume your datawindows are resizeable...

Dialog size behaviour: VO dialog appears narrower (only width!) in X#

Posted: Thu Jul 20, 2023 7:37 am
by leon-ts
Karl,
ecos post=27028 userid=366 wrote: I assume your datawindows are resizeable...
Yes, that's the way my DataWindow is designed: it runs across the entire client area of the application's main window. But my remark was that, in general, the style of the DataWindow windows (title, system menu buttons, borders) does not support the current Windows style, but remains in the Windows 7 era. And judging by the correspondence on the link that I gave above, this is a flaw in Windows itself . And it hasn't been fixed.

For example, I opened two windows: DialogWindow above DataWindow. Both are resizable. The DialogWindow has strict (sharp) borders, like the general style of other windows in Windows 10. But the DataWindow is designed differently.

Example (both windows are resizable):
Screenshot2.png
Screenshot2.png (6.79 KiB) Viewed 387 times