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

This forum is meant for questions and discussions about the X# language and tools
leon-ts
Posts: 429
Joined: Fri Feb 03, 2017 1:43 pm

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

Post 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 264 times
DataWindow:
DataWindow2.png
DataWindow2.png (1.76 KiB) Viewed 264 times
Extra Command Line Options: /subsystemversion:5.00
DialogWindow (reduced title height):
DialogWindow2.png
DialogWindow2.png (877 Bytes) Viewed 264 times
DataWindow:
DataWindow2.png
DataWindow2.png (1.76 KiB) Viewed 264 times
Attachments
DataWindow1.png
DataWindow1.png (1.79 KiB) Viewed 264 times
Best regards,
Leonid
ecos
Posts: 91
Joined: Tue Nov 10, 2015 6:49 am
Location: Germany

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

Post 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...
leon-ts
Posts: 429
Joined: Fri Feb 03, 2017 1:43 pm

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

Post 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 264 times
Best regards,
Leonid
Post Reply