Windows API Calls for Powerbuilder 5.0
¹®Á¦
Rectangle( )
ÇØ°á
This function draws a rectangle based on the coordinates the function receives. There are no Powerbuilder equivalents.
Global External Function: FUNCTION boolean Rectangle(ulong hwnd,long x1,long y1,long x2,long y2) LIBRARY "Gdi32.dll"
Script: Boolean rtn ulong l_handle,l_device long lv[4] lv[ ] = { 10,10,275,215} l_handle = handle(w_main) l_device = GetDC(l_handle) rtn = Rectangle(l_device,lv[1],lv[2],lv[3],lv[4])
ÂüÁ¶