Windows API Calls for Powerbuilder 5.0

¹®Á¦

MessageBoxA( )

ÇØ°á

This function produces a messagebox.
This is identical to the Powerbuilder Messagebox command.

Global External Function:
FUNCTION long MessageBoxA(ulong hwnd, ref string text, ref string title, ulong style) &
                                           LIBRARY "User32.dll"

Script:
long rtn
ulong handle1, style1
string text1
string title1
handle1 = handle(parent)
text1 = "This is an API Messagebox"
title1 = "API MessageBox"
style1 = 0
rtn = MessageBoxA(handle1,text1,title1,style1)

 

ÂüÁ¶