开发者

What's the Win32 API (MFC) equivalent to SystemInformation.CaptionHeight in .NET?

开发者 https://www.devze.com 2023-03-27 06:50 出处:网络
I am trying to figure out the Win32 API (MFC) equivalent to SystemInformation.CaptionHeight in .NET. So far I looked at SystemParametersInfo() (http://msdn.microsoft.co开发者_JAVA技巧m/en-us/library/m

I am trying to figure out the Win32 API (MFC) equivalent to SystemInformation.CaptionHeight in .NET. So far I looked at SystemParametersInfo() (http://msdn.microsoft.co开发者_JAVA技巧m/en-us/library/ms724947%28v=VS.85%29.aspx) and it doesn't seem to fit the bill.


You can call GetSystemMetrics with an argument of SM_CYCAPTION. (If you look at the code for the .Net property, that's all it does.)

0

精彩评论

暂无评论...
验证码 换一张
取 消