	.386p
	ifndef	??version
?debug	macro
	endm
publicdll macro	name
	public	name
	endm
	endif
	?debug	V 300h
	?debug	S "DEMOMEDI.CPP"
	?debug	C E92D8625370C44454D4F4D4544492E435050
	?debug	C E9235C334719433A5C424333315C494E434C554445325C53594D42+
	?debug	C 4F4C2E48
	?debug	C E972A3413919433A5C424333315C494E434C554445325C4249544D+
	?debug	C 41502E48
	?debug	C E91A56CA3417433A5C424333315C494E434C554445325C49434F4E+
	?debug	C 2E48
	?debug	C E9D271443916433A5C424333315C494E434C554445325C4749462E+
	?debug	C 48
	?debug	C E996A48B4219433A5C424333315C494E434C554445325C4D454D4F+
	?debug	C 52592E48
	?debug	C E94019CA1818433A5C424333315C494E434C5544455C5354444C49+
	?debug	C 422E48
	?debug	C E94019CA1817433A5C424333315C494E434C5544455C5F44454653+
	?debug	C 2E48
	?debug	C E94019CA1815433A5C424333315C494E434C5544455C444F532E48
	?debug	C E94019CA1817433A5C424333315C494E434C5544455C535444494F+
	?debug	C 2E48
	?debug	C E94019CA1818433A5C424333315C494E434C5544455C5F4E46494C+
	?debug	C 452E48
	?debug	C E94019CA1817433A5C424333315C494E434C5544455C434F4E494F+
	?debug	C 2E48
	?debug	C E94019CA181B433A5C424333315C494E434C5544455C5359535C5C+
	?debug	C 535441542E48
	?debug	C E98881753917433A5C424333315C494E434C554445325C4A504547+
	?debug	C 2E48
	?debug	C E9E94C7C4F1A433A5C424333315C494E434C554445325C50524956+
	?debug	C 4154452E48
	?debug	C E9E258824F1A433A5C424333315C494E434C554445325C4D594652+
	?debug	C 414D452E48
	?debug	C E94019CA1818433A5C424333315C494E434C5544455C5354444C49+
	?debug	C 422E48
	?debug	C E94019CA1817433A5C424333315C494E434C5544455C535444494F+
	?debug	C 2E48
	?debug	C E94019CA1816433A5C424333315C494E434C5544455C42494F532E+
	?debug	C 48
	?debug	C E94019CA1814433A5C424333315C494E434C5544455C494F2E48
	?debug	C E94019CA1817433A5C424333315C494E434C5544455C434F4E494F+
	?debug	C 2E48
	?debug	C E94019CA181A433A5C424333315C494E434C5544455C4752415048+
	?debug	C 4943532E48
	?debug	C E94019CA1817433A5C424333315C494E434C5544455C414C4C4F43+
	?debug	C 2E48
	?debug	C E94019CA1815433A5C424333315C494E434C5544455C4449522E48
	?debug	C E94019CA1818433A5C424333315C494E434C5544455C535452494E+
	?debug	C 472E48
	?debug	C E94019CA1815433A5C424333315C494E434C5544455C444F532E48
	?debug	C E94019CA1816433A5C424333315C494E434C5544455C54494D452E+
	?debug	C 48
	?debug	C E94019CA1816433A5C424333315C494E434C5544455C4D4154482E+
	?debug	C 48
	?debug	C E94019CA1818433A5C424333315C494E434C5544455C4D414C4C4F+
	?debug	C 432E48
	?debug	C E94019CA1817433A5C424333315C494E434C5544455C414C4C4F43+
	?debug	C 2E48
	?debug	C E9235C334719433A5C424333315C494E434C554445325C53594D42+
	?debug	C 4F4C2E48
	?debug	C E97762234018433A5C424333315C494E434C554445325C4D4F5553+
	?debug	C 452E48
	?debug	C E996A48B4219433A5C424333315C494E434C554445325C4D454D4F+
	?debug	C 52592E48
	?debug	C E93851453A17433A5C424333315C494E434C554445325C464F4E54+
	?debug	C 2E48
	?debug	C E9654661411B433A5C424333315C494E434C554445325C48474C47+
	?debug	C 505249542E48
	?debug	C E996A48B4219433A5C424333315C494E434C554445325C4D454D4F+
	?debug	C 52592E48
	?debug	C E9BC5039391B433A5C424333315C494E434C554445325C52454749+
	?debug	C 535445522E48
	?debug	C E9235C334719433A5C424333315C494E434C554445325C53594D42+
	?debug	C 4F4C2E48
	?debug	C E9D353E23A1A433A5C424333315C494E434C554445325C4C495354+
	?debug	C 494E472E48
	?debug	C E9D353E23A1A433A5C424333315C494E434C554445325C4C495354+
	?debug	C 494E472E48
	?debug	C E9D4A5D9401B433A5C424333315C494E434C554445325C53564741+
	?debug	C 5F4445562E48
	?debug	C E98950FD3E17433A5C424333315C494E434C554445325C56424533+
	?debug	C 2E48
	?debug	C E9235C334719433A5C424333315C494E434C554445325C53594D42+
	?debug	C 4F4C2E48
	?debug	C E9DA89FB4619433A5C424333315C494E434C554445325C4B45524E+
	?debug	C 454C2E48
	?debug	C E94019CA1816433A5C424333315C494E434C5544455C54494D452E+
	?debug	C 48
	?debug	C E9C76B384F18433A5C424333315C494E434C554445325C47524150+
	?debug	C 482E48
	?debug	C E9F8B829451A433A5C424333315C494E434C554445325C534F434B+
	?debug	C 4554332E48
	?debug	C E9235C334719433A5C424333315C494E434C554445325C53594D42+
	?debug	C 4F4C2E48
	?debug	C E996A48B4219433A5C424333315C494E434C554445325C4D454D4F+
	?debug	C 52592E48
	?debug	C E9A454E23A1A433A5C424333315C494E434C554445325C534F434B+
	?debug	C 4554352E48
	?debug	C E92DAB29451A433A5C424333315C494E434C554445325C534F434B+
	?debug	C 4554342E48
	?debug	C E9F8B829451A433A5C424333315C494E434C554445325C534F434B+
	?debug	C 4554332E48
	?debug	C E92258714F1A433A5C424333315C494E434C554445325C4E45574D+
	?debug	C 4154482E48
	?debug	C E9A8548B4319433A5C424333315C494E434C554445325C53504C49+
	?debug	C 4E452E48
	?debug	C E91D51E23A19433A5C424333315C494E434C554445325C57495A41+
	?debug	C 52442E48
DEMOMEDI_TEXT	segment byte public use16 'CODE'
DEMOMEDI_TEXT	ends
DGROUP	group	_DATA,_BSS
	assume	cs:DEMOMEDI_TEXT,ds:DGROUP
_DATA	segment word public use16 'DATA'
d@	label	byte
d@w	label	word
_DATA	ends
_BSS	segment word public use16 'BSS'
b@	label	byte
b@w	label	word
_BSS	ends
DEMOMEDI_TEXT	segment byte public use16 'CODE'
	assume	cs:DEMOMEDI_TEXT
@ClickLoadFile_DemoMultiEditDialo$qn7CObject	proc	far
	enter	88,0
	push	dword ptr [bp+6]
	call	far ptr @@CObject@GetParent$qv
	add	sp,4
	mov	word ptr [bp-2],dx
	mov	word ptr [bp-4],ax
	push	2001
	push	dx
	push	ax
	call	far ptr @CObject@ObjectFromID$qui
	add	sp,6
	mov	word ptr [bp-6],dx
	mov	word ptr [bp-8],ax
	push	large 0
	push	large 0
	push	ss
	lea	ax,word ptr [bp-88]
	push	ax
	push	1
	call	far ptr @AfxOpenFileDialog$qinzcnxzct3
	add	sp,14
	or	ax,ax
	je	short @1@86
	push	ss
	lea	ax,word ptr [bp-88]
	push	ax
	push	dword ptr [bp-8]
	call	far ptr @CMultiEdit@LoadFile$qnxzc
	add	sp,8
	push	dword ptr [bp-8]
	les	bx,dword ptr [bp-8]
	mov	bx,word ptr es:[bx]
	call	dword ptr [bx+32]
	add	sp,4
@1@86:
	leave	
	ret	
@ClickLoadFile_DemoMultiEditDialo$qn7CObject	endp
	assume	cs:DEMOMEDI_TEXT
@ClickSaveFile_DemoMultiEditDialo$qn7CObject	proc	far
	enter	88,0
	push	dword ptr [bp+6]
	call	far ptr @@CObject@GetParent$qv
	add	sp,4
	mov	word ptr [bp-2],dx
	mov	word ptr [bp-4],ax
	push	2001
	push	dx
	push	ax
	call	far ptr @CObject@ObjectFromID$qui
	add	sp,6
	mov	word ptr [bp-6],dx
	mov	word ptr [bp-8],ax
	push	large 0
	push	large 0
	push	ss
	lea	ax,word ptr [bp-88]
	push	ax
	push	0
	call	far ptr @AfxOpenFileDialog$qinzcnxzct3
	add	sp,14
	or	ax,ax
	je	short @2@86
	push	ss
	lea	ax,word ptr [bp-88]
	push	ax
	push	dword ptr [bp-8]
	call	far ptr @CMultiEdit@SaveFile$qnxzc
	add	sp,8
@2@86:
	leave	
	ret	
@ClickSaveFile_DemoMultiEditDialo$qn7CObject	endp
	assume	cs:DEMOMEDI_TEXT
@DemoMultiEditDialog$qv	proc	far
	enter	20,0
	push	large 0
	call	far ptr @CDialog@$bctr$qv
	add	sp,4
	mov	word ptr [bp-2],dx
	mov	word ptr [bp-4],ax
	push	ds
	push	offset DGROUP:s@+1
	push	large 001410223h
	push	large 0
	push	dx
	push	ax
	call	far ptr @CWindow@CreateWindow$qiiiinxzc
	add	sp,16
	push	dword ptr [bp-4]
	call	far ptr @CWindow@Center$qv
	add	sp,4
	push	large 0
	push	dword ptr [bp-4]
	call	far ptr @@CWindow@SetTimeFc$qnqn7CObject$v
	add	sp,8
	push	large 0
	push	dword ptr [bp-4]
	call	far ptr @@CWindow@SetDrawFc$qnqn7CObject$v
	add	sp,8
	push	large 0
	push	dword ptr [bp-4]
	call	far ptr @@CWindow@SetHelpFc$qnqn7CObject$v
	add	sp,8
	push	large 0
	push	dword ptr [bp-4]
	call	far ptr @@CWindow@SetKeyboardFc$qnqn7CObject$i
	add	sp,8
	push	dword ptr [bp-4]
	push	large 0
	call	far ptr @CCloseButton@$bctr$qn7CObject
	add	sp,8
	push	dword ptr [bp-4]
	push	large 0
	call	far ptr @CButton@$bctr$qn7CObject
	add	sp,8
	mov	word ptr [bp-6],dx
	mov	word ptr [bp-8],ax
	push	ds
	push	offset DGROUP:s@+16
	push	large 000180079h
	push	large 0010D018Ch
	push	dx
	push	ax
	call	far ptr @CObject@CreateObject$qiiiinxzc
	add	sp,16
	push	11776
	push	dword ptr [bp-8]
	call	far ptr @@CObject@SetShortcutKey$qui
	add	sp,6
	push	seg @ClickCancelButton$qn7CObject
	push	offset @ClickCancelButton$qn7CObject
	push	dword ptr [bp-8]
	call	far ptr @CObject@SetFc$qnqn7CObject$v
	add	sp,8
	push	7001
	push	dword ptr [bp-8]
	call	far ptr @@CObject@SetID$qui
	add	sp,6
	push	dword ptr [bp-4]
	push	large 0
	call	far ptr @CButton@$bctr$qn7CObject
	add	sp,8
	mov	word ptr [bp-10],dx
	mov	word ptr [bp-12],ax
	push	ds
	push	offset DGROUP:s@+26
	push	large 000180079h
	push	large 000E2018Ch
	push	dx
	push	ax
	call	far ptr @CObject@CreateObject$qiiiinxzc
	add	sp,16
	push	7936
	push	dword ptr [bp-12]
	call	far ptr @@CObject@SetShortcutKey$qui
	add	sp,6
	push	7002
	push	dword ptr [bp-12]
	call	far ptr @@CObject@SetID$qui
	add	sp,6
	push	dword ptr [bp-4]
	push	large 0
	call	far ptr @CButton@$bctr$qn7CObject
	add	sp,8
	mov	word ptr [bp-14],dx
	mov	word ptr [bp-16],ax
	push	ds
	push	offset DGROUP:s@+38
	push	large 000180079h
	push	large 000B8018Ch
	push	dx
	push	ax
	call	far ptr @CObject@CreateObject$qiiiinxzc
	add	sp,16
	push	9728
	push	dword ptr [bp-16]
	call	far ptr @@CObject@SetShortcutKey$qui
	add	sp,6
	push	7003
	push	dword ptr [bp-16]
	call	far ptr @@CObject@SetID$qui
	add	sp,6
	push	1
	push	dword ptr [bp-16]
	call	far ptr @@CButton@SetDefaultFlags$qi
	add	sp,6
	push	dword ptr [bp-4]
	push	large 0
	call	far ptr @CMultiEdit@$bctr$qn7CObject
	add	sp,8
	mov	word ptr [bp-18],dx
	mov	word ptr [bp-20],ax
	push	large 0
	push	large 00116016Fh
	push	large 0001D000Ah
	push	dx
	push	ax
	call	far ptr @CMultiEdit@CreateObject$qiiiinxzc
	add	sp,16
	push	2001
	push	dword ptr [bp-20]
	call	far ptr @@CObject@SetID$qui
	add	sp,6
	push	seg @ClickSaveFile_DemoMultiEditDialo$qn7CObject
	push	offset @ClickSaveFile_DemoMultiEditDialo$qn7CObject
	push	dword ptr [bp-12]
	call	far ptr @CObject@SetFc$qnqn7CObject$v
	add	sp,8
	push	seg @ClickLoadFile_DemoMultiEditDialo$qn7CObject
	push	offset @ClickLoadFile_DemoMultiEditDialo$qn7CObject
	push	dword ptr [bp-16]
	call	far ptr @CObject@SetFc$qnqn7CObject$v
	add	sp,8
	push	ds
	push	offset DGROUP:s@+52
	push	dword ptr [bp-20]
	call	far ptr @CMultiEdit@SetWindowText$qnxzc
	add	sp,8
	push	large 1
	push	dword ptr [bp-4]
	call	far ptr @CWindow@ShowWindow$qul
	add	sp,8
	push	dword ptr [bp-4]
	call	far ptr @CDialog@DoModal$qv
	add	sp,4
	cmp	dword ptr [bp-4],large 0
	je	short @3@86
	push	3
	push	dword ptr [bp-4]
	les	bx,dword ptr [bp-4]
	mov	bx,word ptr es:[bx]
	call	dword ptr [bx+44]
	add	sp,6
	jmp	short @3@86
@3@86:
	leave	
	ret	
@DemoMultiEditDialog$qv	endp
DEMOMEDI_TEXT	ends
DEMOMEDI_TEXT	segment byte public use16 'CODE'
@CObject@GetParent$qv	segment	virtual
	assume	cs:@CObject@GetParent$qv
@@CObject@GetParent$qv	proc	far
	push	bp
	mov	bp,sp
	les	bx,dword ptr [bp+6]
	mov	dx,word ptr es:[bx+52]
	mov	ax,word ptr es:[bx+50]
	pop	bp
	ret	
@@CObject@GetParent$qv	endp
@CObject@GetParent$qv	ends
DEMOMEDI_TEXT	ends
DEMOMEDI_TEXT	segment byte public use16 'CODE'
@CWindow@SetTimeFc$qnqn7CObject$v	segment	virtual
	assume	cs:@CWindow@SetTimeFc$qnqn7CObject$v
@@CWindow@SetTimeFc$qnqn7CObject$v	proc	far
	push	bp
	mov	bp,sp
	les	bx,dword ptr [bp+6]
	mov	eax,dword ptr [bp+10]
	mov	dword ptr es:[bx+288],eax
	pop	bp
	ret	
@@CWindow@SetTimeFc$qnqn7CObject$v	endp
@CWindow@SetTimeFc$qnqn7CObject$v	ends
DEMOMEDI_TEXT	ends
DEMOMEDI_TEXT	segment byte public use16 'CODE'
@CWindow@SetDrawFc$qnqn7CObject$v	segment	virtual
	assume	cs:@CWindow@SetDrawFc$qnqn7CObject$v
@@CWindow@SetDrawFc$qnqn7CObject$v	proc	far
	push	bp
	mov	bp,sp
	les	bx,dword ptr [bp+6]
	mov	eax,dword ptr [bp+10]
	mov	dword ptr es:[bx+276],eax
	pop	bp
	ret	
@@CWindow@SetDrawFc$qnqn7CObject$v	endp
@CWindow@SetDrawFc$qnqn7CObject$v	ends
DEMOMEDI_TEXT	ends
DEMOMEDI_TEXT	segment byte public use16 'CODE'
@CWindow@SetHelpFc$qnqn7CObject$v	segment	virtual
	assume	cs:@CWindow@SetHelpFc$qnqn7CObject$v
@@CWindow@SetHelpFc$qnqn7CObject$v	proc	far
	push	bp
	mov	bp,sp
	les	bx,dword ptr [bp+6]
	mov	eax,dword ptr [bp+10]
	mov	dword ptr es:[bx+268],eax
	pop	bp
	ret	
@@CWindow@SetHelpFc$qnqn7CObject$v	endp
@CWindow@SetHelpFc$qnqn7CObject$v	ends
DEMOMEDI_TEXT	ends
DEMOMEDI_TEXT	segment byte public use16 'CODE'
@CWindow@SetKeyboardFc$qnqn7CObject$i	segment	virtual
	assume	cs:@CWindow@SetKeyboardFc$qnqn7CObject$i
@@CWindow@SetKeyboardFc$qnqn7CObject$i	proc	far
	push	bp
	mov	bp,sp
	les	bx,dword ptr [bp+6]
	mov	eax,dword ptr [bp+10]
	mov	dword ptr es:[bx+272],eax
	pop	bp
	ret	
@@CWindow@SetKeyboardFc$qnqn7CObject$i	endp
@CWindow@SetKeyboardFc$qnqn7CObject$i	ends
DEMOMEDI_TEXT	ends
DEMOMEDI_TEXT	segment byte public use16 'CODE'
@CObject@SetShortcutKey$qui	segment	virtual
	assume	cs:@CObject@SetShortcutKey$qui
@@CObject@SetShortcutKey$qui	proc	far
	push	bp
	mov	bp,sp
	les	bx,dword ptr [bp+6]
	mov	ax,word ptr [bp+10]
	mov	word ptr es:[bx+36],ax
	pop	bp
	ret	
@@CObject@SetShortcutKey$qui	endp
@CObject@SetShortcutKey$qui	ends
DEMOMEDI_TEXT	ends
DEMOMEDI_TEXT	segment byte public use16 'CODE'
@CObject@SetID$qui	segment	virtual
	assume	cs:@CObject@SetID$qui
@@CObject@SetID$qui	proc	far
	push	bp
	mov	bp,sp
	les	bx,dword ptr [bp+6]
	mov	ax,word ptr [bp+10]
	mov	word ptr es:[bx+38],ax
	pop	bp
	ret	
@@CObject@SetID$qui	endp
@CObject@SetID$qui	ends
DEMOMEDI_TEXT	ends
DEMOMEDI_TEXT	segment byte public use16 'CODE'
@CButton@SetDefaultFlags$qi	segment	virtual
	assume	cs:@CButton@SetDefaultFlags$qi
@@CButton@SetDefaultFlags$qi	proc	far
	push	bp
	mov	bp,sp
	les	bx,dword ptr [bp+6]
	mov	ax,word ptr [bp+10]
	mov	word ptr es:[bx+172],ax
	pop	bp
	ret	
@@CButton@SetDefaultFlags$qi	endp
	?debug	C E9
	?debug	C FA00000000
@CButton@SetDefaultFlags$qi	ends
DEMOMEDI_TEXT	ends
_DATA	segment word public use16 'DATA'
s@	label	byte
	db	0
	db	182
	db	224
	db	208
	db	208
	db	177
	db	224
	db	188
	db	173
	db	191
	db	242
	db	209
	db	221
	db	202
	db	190
	db	0
	db	205
	db	203
	db	179
	db	246
	db	'('
	db	3
	db	'C'
	db	3
	db	')'
	db	0
	db	193
	db	237
	db	180
	db	230
	db	206
	db	170
	db	'('
	db	3
	db	'S'
	db	3
	db	')'
	db	0
	db	215
	db	176
	db	200
	db	235
	db	206
	db	196
	db	188
	db	254
	db	'('
	db	3
	db	'L'
	db	3
	db	')'
	db	0
	db	161
	db	182
	db	204
	db	236
	db	193
	db	250
	db	176
	db	203
	db	178
	db	188
	db	161
	db	183
	db	10
	db	161
	db	182
	db	208
	db	194
	db	206
	db	197
	db	193
	db	170
	db	178
	db	165
	db	161
	db	183
	db	10
	db	161
	db	182
	db	206
	db	210
	db	176
	db	174
	db	206
	db	210
	db	188
	db	210
	db	161
	db	183
	db	0
_DATA	ends
DEMOMEDI_TEXT	segment byte public use16 'CODE'
DEMOMEDI_TEXT	ends
	public	@DemoMultiEditDialog$qv
	public	@ClickSaveFile_DemoMultiEditDialo$qn7CObject
	public	@ClickLoadFile_DemoMultiEditDialo$qn7CObject
	extrn	@AfxOpenFileDialog$qinzcnxzct3:far
	extrn	@ClickCancelButton$qn7CObject:far
	extrn	@CMultiEdit@$bctr$qn7CObject:far
	extrn	@CMultiEdit@CreateObject$qiiiinxzc:far
	extrn	@CMultiEdit@SetWindowText$qnxzc:far
	extrn	@CMultiEdit@SaveFile$qnxzc:far
	extrn	@CMultiEdit@LoadFile$qnxzc:far
	extrn	@CCloseButton@$bctr$qn7CObject:far
	extrn	@CButton@$bctr$qn7CObject:far
	extrn	@CDialog@$bctr$qv:far
	extrn	@CDialog@DoModal$qv:far
	extrn	@CWindow@ShowWindow$qul:far
	extrn	@CWindow@Center$qv:far
	extrn	@CWindow@CreateWindow$qiiiinxzc:far
	extrn	@CObject@CreateObject$qiiiinxzc:far
	extrn	@CObject@ObjectFromID$qui:far
	extrn	@CObject@SetFc$qnqn7CObject$v:far
_pokeb	equ	pokeb
_poke	equ	poke
_peekb	equ	peekb
_peek	equ	peek
_atoi	equ	atoi
_abs	equ	abs
_s@	equ	s@
	end
