Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Question about new macro behavior
#21
Macro Macro2501
Code:
Copy      Help
NONCLIENTMETRICS m.cbSize=sizeof(m)
SystemParametersInfo(SPI_GETNONCLIENTMETRICS m.cbSize &m 0)
LOGFONT& p=&m.lfStatusFont
int hdc=GetDC(0); out -MulDiv(p.lfHeight 72 GetDeviceCaps(hdc LOGPIXELSY)); ReleaseDC 0 hdc
str s.fromn(&p.lfFaceName -1); out s


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)