Ignore:
Timestamp:
Mar 12, 2004, 12:43:57 PM (21 years ago)
Author:
sandervl
Message:

SPI_GETNONCLIENTMETRICS: corrected caption width and height

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/user32.cpp

    r10316 r10509  
    1 /* $Id: user32.cpp,v 1.130 2003-11-12 14:10:20 sandervl Exp $ */
     1/* $Id: user32.cpp,v 1.131 2004-03-12 11:43:57 sandervl Exp $ */
    22
    33/*
     
    750750            SystemParametersInfoA(SPI_GETICONTITLELOGFONT, 0, (LPVOID)&(lpnm->lfCaptionFont),0);
    751751            lpnm->lfCaptionFont.lfWeight = FW_BOLD;
    752             lpnm->iCaptionWidth    = 32; //TODO
    753             lpnm->iCaptionHeight   = 32; //TODO
     752            lpnm->iCaptionWidth    = GetSystemMetrics(SM_CXSIZE);
     753            lpnm->iCaptionHeight   = GetSystemMetrics(SM_CYSIZE);
    754754
    755755            SystemParametersInfoA(SPI_GETICONTITLELOGFONT, 0, (LPVOID)&(lpnm->lfSmCaptionFont),0);
Note: See TracChangeset for help on using the changeset viewer.