What's the Win32 API (MFC) equivalent to SystemInformation.CaptionHeight in .NET?
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.)
精彩评论