您的位置:首页 >> 数据库 >> PowerBuilder >> 正文
RSS
 

PB中可使用的Windows API调用简介

http://www.rdxx.com 05年08月05日 11:00 互连网 我要投稿

关键词: 调用 , Windows , API

Lists the PowerBuilder syntax for calling Windows API functions. Also included is the PowerBuilder script needed to make the function calls

    32 Bit - Windows API Calls for PowerBuilder
    The following information lists the PowerBuilder syntax for calling Windows API functions.   Also included is the PowerBuilder script needed to make the function call.  If you would like an example of these API calls the sample pbl is located on the Powersoft FTP server.   The file can be downloaded from:

    These API calls are only a subset of all the API calls available.  For a more complete listing of API calls you can consult the windows SDK helpfile which is named either win32.hlp or win32sdk.hlp(depending on what compiler the SDK has been installed from).  Technote #44648 can assist you with the function declaration of the API call from powerscript.

    The following API calls are referenced in this document:

Arc  GetCurrentDirectoryA Mouse_Event
Beep GetCurrentThread MoveToEx
BringWindowToTop GetCursor MoveWindow
Chord GetCursorPos Pie
CloseHandle GetDC Polygon
CloseWindow GetKeyboardState PostMessageA
CopyFileA GetKeyState Rectangle
CreateDirectoryA GetModuleHandleA ReleaseCapture
DeleteFileA GetParent SetCapture
DeleteMenu GetPixel SetComputerNameA
DestroyWindow GetSystemTime SetCurrentDirectoryA
DllRegisterServer GetSystemMenu SetCursorPos
Ellipse GetSystemMetrics SetFocus
ExitWindowsEx GetThreadPriority SetKeyboardState
FatalExit GetUserNameA SetPixel
FindWindowA GetWindowsDirectory Sleep
FreeLibrary GlobalMemoryStatus SndPlaySoundA
GetBkColor LineTo SwapMouseButton
GetCapture LoadLibraryA WaveOutGetNumDevs
GetComputerNameA mciSendStringA WinExec
GetClassNameA MessageBoxA ...
ADDITIONS: GetVolumnInformationA ...

Arc( )
This function draws an arc based on the coordinates the function receives.  There is no PowerBuilder equivalent.

上一页 下一页

 
 
标签: 调用 , Windows , API 打印本文
 
 
  热点搜索
 
 
 



Valid XHTML 1.0 Transitional
Copyright ©2005 - 2008 Rdxx.Com,All Rights Reserved
收藏本页
收藏本站