Window constants – Casio Naurtech CETerm Ver.5.5 Scripting Guide User Manual
Page 151

N
AURTECH
W
EB
B
ROWSER AND
T
ERMINAL
E
MULATION FOR
W
INDOWS
CE
AND
W
INDOWS
M
OBILE
CETerm Scripting Guide
Page 151
var CLRDTR = 6; // Set DTR low
// Gap for NT code RESETDEV, not supported on CE
var SETBREAK = 8; // Set the device break line.
var CLRBREAK = 9; // Clear the device break line.
// Some devices share a UART between an IRDA port and a serial port.
// These escape functions allow control over the mode.
var SETIR = 10; // Set the port to IR mode.
var CLRIR = 11; // Set the port to non-IR mode.
//
// Purge mode flags.
//
var PURGE_TXCLEAR = 0x0004; // Kill the transmit queue.
var PURGE_RXCLEAR = 0x0008; // Kill the receive queue.
//
// Modem Status Flags
//
var MS_CTS_ON = 0x0010;
var MS_DSR_ON = 0x0020;
var MS_RING_ON = 0x0040;
var MS_RLSD_ON = 0x0080;
W
INDOW
C
ONSTANTS
// Special window handle for broadcast
var HWND_BROADCAST = 0xFFFFFFFF;
var WINDOW_RELATIONS =
{
HWNDFIRST : 0x0,
// The window of the same type that is highest in the z-order.
// If the specified window is a topmost window, the handle
// identifies the topmost window that is highest in the z-order.
// If the specified window is a child window, the handle
// identifies the sibling window that is highest in the z-order.
HWNDLAST : 0x1,
// The window of the same type that is lowest in the z-order.
// If the specified window is a topmost window, the handle
// identifies the topmost window that is lowest in the z-order.
// If the specified window is a child window, the handle
// identifies the sibling window that is lowest in the z-order.
HWNDNEXT : 0x2,
// The window below the specified window in the z-order.
// If the specified window is a topmost window, the handle
// identifies the topmost window below the specified window.
// If the specified window is a child window, the handle