Print Page | Close Window

GetSystemMetrics issue in v17.x

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Skin Framework
Forum Description: Topics Related to Codejock Skin Framework
URL: http://forum.codejock.com/forum_posts.asp?TID=23180
Printed Date: 24 November 2024 at 5:09pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: GetSystemMetrics issue in v17.x
Posted By: mrk_z
Subject: GetSystemMetrics issue in v17.x
Date Posted: 04 November 2016 at 6:42am
Hi,

I have encountered GetSystemMetrics issue after updating to v17.3 from v16.2.6.
When I call GetSystemMetrics(SM_CYCAPTION), the returned value does not match to the actual title bar height.

1. Create skin file, and set CaptionBarHeight to 31.
2. Call XTPSkinManager()->SetApplyOptions with xtpSkinApplyMetrics.
3. Load the skin.
4. Call GetSystemMetrics(SM_CYCAPTION).

In v17.3, returned value is 22. In 16.2.6, returned value was 32.
It seems CaptionBarHeight value in skin is ignored.

Is this known issue?

Thanks,



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net