Solved TD-21742: Window styles are reset when resolution is changed

Report TD 5.x and 6.x bugs and possible workarounds.
Dave Rabelink
Founder/Site Admin
Founder/Site Admin
Netherlands
Posts: 3512
Joined: 24 Feb 2017, 09:12
Location: Gouda, The Netherlands

TD-21742: Window styles are reset when resolution is changed

Post by Dave Rabelink » 17 Feb 2015, 12:22

Issue found on (all ??) UNICODE TD versions.

When a dialog/form has removed some window styles to be displayed as captionless/borderless window, these styles are set back by TD when the resolution is changed.
This should not be the case, the styles should remain the same on changing resolution while running the application.

See testcase.
It will create two captionless/borderless windows (a dialog and a form).
While running, change the resolution in Windows.

Afterwards, the caption and borders are back.

Tested on ANSI TD versions, the styles are not changed.
On TD51, the styles are not changed, but the application hangs afterwards (crash)
On TD61/TD62, the styles are changed.

This breaks GUI visualizations on these kind of windows (splashscreens/floating windows)

Before resolution change:
Before_ResolutionChange.png
After resolution change:
After_ResolutionChange.png
(testcase is saved in TD21 format)
Bug_WinStylesSetBackAfterResolutionChange.zip
You do not have the required permissions to view the files attached to this post.
Regards,
Dave Rabelink

Image
Articles and information on Team Developer Tips & Tricks Wiki
Download samples, documents and resources from TD Sample Vault
Videos on TDWiki YouTube Channel

Dave Rabelink
Founder/Site Admin
Founder/Site Admin
Netherlands
Posts: 3512
Joined: 24 Feb 2017, 09:12
Location: Gouda, The Netherlands

Re: TD-21742: Window styles are reset when resolution is changed

Post by Dave Rabelink » 18 Feb 2015, 08:16

For your information:

Gupta has assigned a defect number for this issue:

TD-21742 : Window styles are reset when resolution is changed
Regards,
Dave Rabelink

Image
Articles and information on Team Developer Tips & Tricks Wiki
Download samples, documents and resources from TD Sample Vault
Videos on TDWiki YouTube Channel

Return to “Bug Reports”

Who is online

Users browsing this forum: [Ccbot] and 7 guests