| how to maximize, minimize, & do some other things with the dos box...February 19 2004 at 4:52 PM | Zip (no login) | |
| maximize proc
mov ax,1683h
int 2Fh ;get vm handle in bx
mov ax,168Bh
int 2Fh
retf
maximize endp
minimize proc
mov bx,1 ;vm handle of the desktop
mov ax,168Bh
int 2Fh
retf
minimize endp
Call int 2Fh with the following parameters to accomplish the specified task...
To set the VM title (title bar text):
es:di = asciiz string
ax = 168Eh
dx = 1
To get the VM title (title bar text):
es:di = buffer
cx = maximum buffer length
ax = 168Eh
dx = 3
To set the application title (2nd part of title bar text):
es:di = asciiz string
ax = 168Eh
dx = 0
To get the application title (2nd part of title bar text):
es:di = buffer
cx = maximum buffer length
ax = 168Eh
dx = 2 |
| | Responses |
|
|