sanju_kg

Hi All,

Earlier in desktop we had SystemParametersInfo api and we could query for SPI_GETNONCLIENTMETRICS, is there any other way we could achieve the same functionality

Thanks and Regards

Sanjeeth




Re: Smart Devices Native C++ Development How do you find out system default caption font

Guang-Ming Bian - MSFT

Hi Sanjeeth,

There are two ways to get the system caption font,

  1. You can also use SystemParametersInfo api, it is in coredll.dll file. you can use loadlibrary to use the api.
    For have to use loadlibrary , click the link below:

    http://msdn2.microsoft.com/en-us/library/ms684175.aspx

    http://forums.microsoft.com/MSDN/Search/Search.aspx words=loadlibrary&searchKey=&lcid=1033&searchscope=forumgroupscope&siteid=1&ForumID=-1&ForumGroupID=11&GoButton=+Go

  2. You can also get the system caption font from registry, which is in machine\System\GDI\SysFNT\

Best regards,

Guang-Ming Bian - MSFT