Int 15/AH=12h/BH=0Ch

lup.gif ldown.gif Interrups Categories Contents

rbline.gif

TopView - SEND MESSAGE - OPEN - OPEN OBJECT

AH = 12h
BH = 0Ch
BL = object
00h handle is DWORD on top of stack

window:
Fill with given character from scroll origin to end

keyboard:
Attach to a window

timer:
Open

pointer:
Start taking input for window

panel:
Associate with a panel file 01h fill task's default window with given char from scrl org to end 02h open given task's mailbox for input (task's handle on stack) 03h open current task's mailbox 04h attach a KEYBOARD to a window (handle on top of stack) 05h attach task's default KEYBOARD to a window 06h open a task's OBJECTQ (task's handle on top of stack) 07h open current task's OBJECTQ 0Ch (DV 2.26+) fill def window of task owning handle on top of stck 0Dh (DV 2.26+) fill default window of parent of current task

STACK:
(if window) DWORD character to fill with (if keyboard) DWORD handle of window to attach to (if pointer) DWORD handle of window to attach to (if panel) DWORD length of filename or resident panel DWORD address of filename or resident panel (otherwise) nothing

Return:
STACK popped

Notes: If first byte of panel file name is 1Bh, then the "name" IS a panel. If first two bytes of panel file "name" are C0hC3h, then the "name" IS the panel file. Result code of open may be retrieved with STATUS message. Logical cursor is left at scroll origin after filling window. The task opening a mailbox becomes its owner, and the only task allowed to read the mailbox. Messages are only sent to a pointer object when the mouse is positioned in the window to which the pointer has been attached. There is no need to explicitly open a timer object, as ADDTO and WRITE messages automatically open the timer

See Also: AH=12h/BH=0Dh - AH=12h/BH=14h"LOCK"

Category: DESQview/TopView and Quarterdeck Programs - Int 15h - T

rbline.gif

lup.gif ldown.gif Interrups Categories Contents