Windowhandle = getparent ( windowhandle ), Windowhandle = getself ( ), Text = gettext ( windowhandle ) – Casio Naurtech CETerm Ver.5.5 Scripting Guide User Manual

Page 79: Windowhandle = gettopmost ( ), Status = isenabled ( windowhandle )

Advertising
background image

N

AURTECH

W

EB

B

ROWSER AND

T

ERMINAL

E

MULATION FOR

W

INDOWS

CE

AND

W

INDOWS

M

OBILE




CETerm Scripting Guide

Page 79


{hwnd:0x7c015c50, processID:0x77452dda, text:"CETerm - S1"},
{hwnd:0x7c012320, processID:0xb7f67176, text:"Input Panel"},
{hwnd:0x7c011d40, processID:0xb79f7e32, text:"WinCENotify"} ]


windowHandle = GetParent ( windowHandle )

Get the handle of the parent window. If the window is a child window, the return
value is a handle to the parent window. If the window is a top-level window, the
return value is a handle to the owner window. If the window is a top-level
unowned window or if the method fails, the return value is 0. Use the Window
property LastError to get additional error information and differentiate between
failure and a top-level unowned window.

windowHandle = GetRelative ( windowHandle, relation )

Get the handle of a window with the relation to the specified window. The
relation values are integers and are listed in Appendix 4. Return the window
handle or zero if no-such-window or method fails. Use the Window property
LastError to get additional error information and differentiate between failure and
no-such-window.

windowHandle = GetSelf ( )

Get the handle of the top-level CETerm window.

text = GetText ( windowHandle )

Get the text of the specified window. Return the text of the window‟s title bar or
the text contents if the window is a control. Return null if function fails. Use the
Window property LastError to get additional error information.

windowHandle = GetTopmost ( )

Get the window with which the user is working. This is also called the foreground
window. May return 0 if no window is currently active. Use the Window property
LastError to get additional error information.

status = IsEnabled ( windowHandle )

Check the input status of the specified window. Return true if the window is
accepting input or false if the window is not accepting input. Use the Window
property LastError to get additional error information.

Advertising
This manual is related to the following products: