"Florian Köberle" florian@fkoeberle.de wrote:
Changes since try 3:
- I found out that the minimal child window size is "4 + 2*borderWidth"
by testing multiple values for some registery keys like "HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics\BorderWidth" on a Windows XP machine. I don't know where the 4 comes from, but it could be hard coded in Windows too.
That still looks more like a hack and you still need find what that values mean. "4 + 2*borderWidth" is not something to trust in general.