| |
Pseudo
objects provide a means to access files, windows, and all
controls directly as objects. Using pseudo object handles
provide a more consistent way to access attributes of
system elements and can make it easier for programmers,
familiar with OOP style programming. Through the use of
these pseudo objects, programmers can access various
properties of a file, window or control from other than
the currently active window.
Pseudo objects are a +PxPlus
Exclusive (v10)
Pseudo handles have set
values based in the system element they represent. The
value is based on the following algorithm(s):
| For File Pseudo Objects |
The
object handle will be 1,000,000,000 + file
number. |
| For Window Objects |
The
object handle will be 1,000,000,000 + window
number * 100,000. |
| For Control Objects |
The
object handle will be 1,000,000,000 + window
number * 100,000 + the control id. |
|