Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Skin Framework
  New Posts New Posts RSS Feed - GetSystemMetrics issue in v17.x
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

GetSystemMetrics issue in v17.x

 Post Reply Post Reply
Author
Message
mrk_z View Drop Down
Newbie
Newbie


Joined: 04 November 2016
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote mrk_z Quote  Post ReplyReply Direct Link To This Post Topic: GetSystemMetrics issue in v17.x
    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,
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.125 seconds.