Delphi里面怎么调用Windows API呢?

解决方案 »

  1.   

    Caption := Format('%dx%d', [Screen.Width, Screen.Height]);
      

  2.   

    方法1:
    GetSystemMetrics(SM_CXSCREEN);
    GetSystemMetrics(SM_CYSCREEN);
    方法2:
    int GetDeviceCaps(0, HORZRES);
    int GetDeviceCaps(0, VERTRES);
      

  3.   

    回复人: hthunter(核桃-我的心在下雨,雨中我和她携手漫步) ( ) 信誉:113  2005-08-13 19:24:00  得分: 0  
     
     
       Caption := Format('%dx%d', [Screen.Width, Screen.Height]);
      
     
    >>>不愧是我门派中的强淫~~~
      

  4.   

    http://www.somade.com/是个很专业的技术社区,去那里找找吧,或许有你要的答案~