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.com/en-us/library/ms724947%28v=VS.85%29.aspx) and it doesn’t seem to fit the bill.
I am trying to figure out the Win32 API (MFC) equivalent to SystemInformation.CaptionHeight in
Share
You can call
GetSystemMetricswith an argument ofSM_CYCAPTION. (If you look at the code for the .Net property, that’s all it does.)