Windows API Calls for Powerbuilder 5.0

¹®Á¦

BringWindowToTop( )

ÇØ°á

BringWindowToTop( )

The BringWindowToTop function sends a message to the target window telling it to come to the foreground.
The Powerbuilder equivalent is limited to Powerbuilder Windows only, the script is as follows: <window > .bringtotop = true

Global External Function:
FUNCTION boolean BringWindowToTop(ulong w_handle) LIBRARY "User32.dll"

Script:
Boolean rtn
ulong l_handle
l_handle = handle(w_win2)
rtn = BringWindowToTop(l_handle)

 

ÂüÁ¶