private const int SM_CYCAPTION = 4;
[DllImport("user32.dll")]
private static extern int GetSystemMetrics (int nIndex);

解决方案 »

  1.   

    怎么能查到这些常数的值,我在google上搜不到,在windowsapi网站上也没找到。
    能告诉我怎么找吗
    我马上节贴
      

  2.   

    建议查查专门讲WINDOWS API 书
      

  3.   

    http://www.activevb.de/rubriken/apiviewer/index-apiviewereng.html
    下载ApiViewer 2004 _v310
    各种编程语言的API都有,很全的
      

  4.   

    我晕,有啊,
    setting设为Microsft visual c#
    在Constants查找,一定有的
    private const int SM_CYCAPTION = 4;