怎么在delphi调用windows的系统函数!
比如调用剪切板里的内容,还有象弹出menu怎么调用!

解决方案 »

  1.   

    和调用一般的DLL函数一样(如果这个系统函数(API),Delphi中没有申明的话)
      

  2.   

    直接调用呀!
    譬如:
    BOOL TrackPopupMenu(    HMENU hMenu, // handle of shortcut menu
        UINT uFlags, // screen-position and mouse-button flags
        int x, // horizontal position, in screen coordinates
        int y, // vertical position, in screen coordinates
        int nReserved, // reserved, must be zero
        HWND hWnd, // handle of owner window
        CONST RECT *prcRect // points to RECT that specifies no-dismissal area
       );
      

  3.   

    没有申明就自己看MSDN帮助把申明转换一下,就可以用了。
      

  4.   

    没做过DLL吗?那随便找本Delphi相关书籍看看,一般都有!