VX-REXX Windows/Object Info | 1993-09-14 | 3KB | 98 lines
VRX OS/2 v1.01
VRWindow
sizeable
Modal
SimpleDialog
CALL Window1_Close
Window Controller
<default>
<default>
<default>
Window1
VRListBox
10.System Monospaced
<default>
<default>
VRPushButton
<default>
Update list
<default>
CALL PB_1_Click
<default>
<default>
VRPushButton
<default>
Minimize
<default>
CALL PB_2_Click
<default>
<default>
VRPushButton
<default>
Restore
<default>
CALL PB_3_Click
<default>
<default>
VRPushButton
<default>
Shake
<default>
CALL PB_4_Click
<default>
<default>
VRMenuBar
MenuBar
VRMenu
~Window
Menu3
VRMenuItem
Maximize
CALL Menu6_Click
Menu6
VRMenuItem
Minimize
CALL Menu5_Click
Menu5
VRMenuItem
Restore
CALL Menu7_Click
Menu7
VRMenuItem
Shake
CALL Menu4_Click
Menu4
VRMenu
~Help
Menu1
VRMenuItem
~Product information
CALL Menu2_Click
Menu2
VRX OS/2 v1.01
VRWindow
sizeable
Modal
CALL SW_1_Close
Product Information
<default>
<default>
<default>
VRPushButton
<default>
<default>
CALL PB_5_Click
<default>
<default>
VRDescriptiveText
VX-REXX Window Controller
<default>
DarkRed
<default>
VRDescriptiveText
This demo shows how to use the ListWindows method to get a list of top level frame windows. The method returns the PM window handle for each frame window. You can use that PM window handle to set the size, position, and visibility of the window.