MDI-Window does not get WM_Size

Report TD 5.x and 6.x bugs and possible workarounds.
frevelundfey

MDI-Window does not get WM_Size

Post by frevelundfey » 26 Feb 2015, 18:29

Hi folks,

in TD31 we used WM_Size on Mdi-window to rearrange some things when the user changes the size of the mainwindow.
In TD6.2 SP2 we don't receive WM_Size anymore.
Is it a bug? Is there a workaround?

Regards Thomas

P.S: WM_Size = 0x0005

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

Re: MDI-Window does not get WM_Size

Post by Dave Rabelink » 05 Mar 2015, 07:50

It does work with me.

See testcase
MDI_Test_WMSize.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

frevelundfey

Re: MDI-Window does not get WM_Size

Post by frevelundfey » 05 Mar 2015, 09:29

Hi Dave,

thanks.
I tried your sample but it doesn't work here.
TD 6.2 SP2 Build 41010.
What's your version?

Regards Thomas

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

Re: MDI-Window does not get WM_Size

Post by Dave Rabelink » 05 Mar 2015, 11:09

Yes, you are right.

I have tested the same sample on several TD62 versions:

TD62 -> OK
TD62 SP1 -> OK

TD62 SP2 -> FAIL
TD62 SP2 UPD1 -> FAIL

TD62 SP2 UPD2 -> OK
TD62 SP3r -> OK


Better update to TD62 SP2 UPD2 or SP3r
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: MDI-Window does not get WM_Size

Post by Dave Rabelink » 05 Mar 2015, 11:19

I had a look into all the fix lists for SP1, SP2 (& UPD1/UPD2) and no reference to any defect concerning size message issues on MDI's.

So probably SP2 introduced a defect (not detected by Gupta or reported) and was unknowingly fixed in SP2 UP2.

(or the fix list is not complete)
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

frevelundfey

Re: MDI-Window does not get WM_Size

Post by frevelundfey » 06 Mar 2015, 13:48

Hi Dave,

thanks for the research.
With updating you mean replacing a bug by a fix and a working item by a bug? :wink:

Regards Thomas

Return to “Bug Reports”

Who is online

Users browsing this forum: [Ccbot] and 7 guests