Title - WIN


See also API Reference, WIN.


Values

GDI device types


private.GDI_TERM 1
Indicates GDI for the terminal.
private.GDI_MONITOR 2
Indicates GDI for a monitor.
private.GDI_PRINTER 4
Indicates GDI for a printer.


top


Window identifiers


private.ID_DESKTOP 65536 Desktop window.
private.ID_FRAME 65537 Application frame window.
private.ID_TASKBAR 65538 Task bar frame window.
private.ID_MENULIST 65539 Home page menu list window.
private.ID_APPLIST 65540 Running applications list window.
private.ID_MENUFRAME 65541 Home page frame window.
private.ID_APPFRAME 65542 Running applications frame window.
private.ID_KEYBOARD 65543 On screen keyboard frame window.
private.ID_DIALOG 65544 Popup frame window.
private.ID_MSGBOX_MSG 65545 Message box frame window.
private.ID_LOCKSCRN 65546 Lock screen frame window.
private.ID_LOCKPW 65547 Lock screen password window.
private.ID_LOCKOK 65548 Lock screen OK button window.
private.ID_HOMELOCK 65549 Home page lock button window.
private.ID_SYSMSGBOX 65550 System message box frame window.


top


Window classes


private.FRAME_CLASS_WINDOW 70000 Normal window class.
private.FRAME_CLASS_SYSTEM 70001 System application frame class.
private.FRAME_CLASS_APPLICATION 70002 Application frame class.
private.FRAME_CLASS_DIALOG 70003 Popup frame class.


top


private.defaultTheme

private.defaultTheme

Contains the default desktopTheme object.


top


private.workspace

private.workspace

Contains the workSpace object for the running instance of WIN.


top


private.reboot

private.reboot

Contains the original os.reboot function.


top


private.workspace

private.shutdown

Contains the original os.shutdown function.


top


private

private.get_password

password private.get_password ()

Returns the password from the /win.ini file.

Parameters
none



Returns
password string
The password. If not set an empty string is returned.

Remarks


top


private.run_app_frame

private.run_app_frame (frame)

Creates the thread for the given application frame and starts it. Used to start system application frame threads.

Parameters
frame applicationFrame The application frame to run.

Returns
none


Remarks
This function throws errors if the thread could not be started.

Local to the win API.


top


private.safe_read

input private.safe_read (mask)

Reads user input from the console, and displays it at the current cursor position.

Parameters
mask string/nil A single mask character to display instead of the user input. If nil the input is displayed.

Returns
input string The user input entered.

Remarks
This is a local function to the win API.

Only the backspace key is supported for editing. The function returns when the enter key is pressed.


top


See also API Reference, WIN.