	.386p
	ifndef	??version
?debug	macro
	endm
publicdll macro	name
	public	name
	endm
	endif
	?debug	V 300h
	?debug	S "MENUFC.CPP"
	?debug	C E93B7656380A4D454E5546432E435050
	?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
	?debug	C E94019CA1817433A5C424333315C494E434C5544455C434F4E494F+
	?debug	C 2E48
	?debug	C E94019CA1816433A5C424333315C494E434C5544455C42494F532E+
	?debug	C 48
	?debug	C E9F8B829451A433A5C424333315C494E434C554445325C534F434B+
	?debug	C 4554332E48
MENUFC_TEXT	segment byte public use16 'CODE'
MENUFC_TEXT	ends
DGROUP	group	_DATA,_BSS
	assume	cs:MENUFC_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
MENUFC_TEXT	segment byte public use16 'CODE'
	assume	cs:MENUFC_TEXT
@ClickMenu_Open$qn7CObject	proc	far
	enter	556,0
	push	large 0
	push	ds
	push	offset DGROUP:s@+1
	push	ss
	lea	ax,word ptr [bp-556]
	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-556]
	push	ax
	push	ds
	push	offset DGROUP:s@+9
	push	ss
	lea	ax,word ptr [bp-300]
	push	ax
	call	far ptr _sprintf
	add	sp,12
	push	large 1
	push	ss
	lea	ax,word ptr [bp-300]
	push	ax
	push	ds
	push	offset DGROUP:s@+36
	call	far ptr @AfxMessageBox$qnzct1ul
	add	sp,12
@1@86:
	leave	
	ret	
@ClickMenu_Open$qn7CObject	endp
	assume	cs:MENUFC_TEXT
@ClickMenu_Save$qn7CObject	proc	far
	enter	556,0
	push	large 0
	push	ds
	push	offset DGROUP:s@+45
	push	ss
	lea	ax,word ptr [bp-556]
	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-556]
	push	ax
	push	ds
	push	offset DGROUP:s@+54
	push	ss
	lea	ax,word ptr [bp-300]
	push	ax
	call	far ptr _sprintf
	add	sp,12
	push	large 1
	push	ss
	lea	ax,word ptr [bp-300]
	push	ax
	push	ds
	push	offset DGROUP:s@+83
	call	far ptr @AfxMessageBox$qnzct1ul
	add	sp,12
@2@86:
	leave	
	ret	
@ClickMenu_Save$qn7CObject	endp
	assume	cs:MENUFC_TEXT
@MenuInstance$qv	proc	far
	enter	28,0
	push	large 0
	call	far ptr @CWindow@$bctr$qv
	add	sp,4
	mov	word ptr [bp-2],dx
	mov	word ptr [bp-4],ax
	push	ds
	push	offset DGROUP:s@+92
	call	far ptr @GetMaxY$qv
	inc	ax
	push	ax
	call	far ptr @GetMaxX$qv
	inc	ax
	push	ax
	push	large 0
	push	dword ptr [bp-4]
	call	far ptr @CWindow@CreateWindow$qiiiinxzc
	add	sp,16
	push	dword ptr [bp-4]
	call	far ptr @CWindow@Center$qv
	add	sp,4
	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 @CMenu@$bctr$qn7CObject
	add	sp,8
	mov	word ptr [bp-6],dx
	mov	word ptr [bp-8],ax
	push	dx
	push	ax
	push	large 0
	call	far ptr @CBar@$bctr$qn7CObject
	add	sp,8
	mov	word ptr [bp-10],dx
	mov	word ptr [bp-12],ax
	push	dword ptr [bp-8]
	push	large 0
	call	far ptr @CBar@$bctr$qn7CObject
	add	sp,8
	mov	word ptr [bp-14],dx
	mov	word ptr [bp-16],ax
	push	dword ptr [bp-8]
	push	large 0
	call	far ptr @CBar@$bctr$qn7CObject
	add	sp,8
	mov	word ptr [bp-18],dx
	mov	word ptr [bp-20],ax
	push	dword ptr [bp-8]
	push	large 0
	call	far ptr @CBar@$bctr$qn7CObject
	add	sp,8
	mov	word ptr [bp-22],dx
	mov	word ptr [bp-24],ax
	push	large 0
	push	dword ptr [bp-12]
	push	ds
	push	offset DGROUP:s@+101
	push	dword ptr [bp-8]
	call	far ptr @CMenu@AddItem$qnzcn4CBarnqn7CObject$v
	add	sp,16
	push	large 0
	push	dword ptr [bp-16]
	push	ds
	push	offset DGROUP:s@+106
	push	dword ptr [bp-8]
	call	far ptr @CMenu@AddItem$qnzcn4CBarnqn7CObject$v
	add	sp,16
	push	large 0
	push	dword ptr [bp-20]
	push	ds
	push	offset DGROUP:s@+111
	push	dword ptr [bp-8]
	call	far ptr @CMenu@AddItem$qnzcn4CBarnqn7CObject$v
	add	sp,16
	push	large 0
	push	dword ptr [bp-24]
	push	ds
	push	offset DGROUP:s@+116
	push	dword ptr [bp-8]
	call	far ptr @CMenu@AddItem$qnzcn4CBarnqn7CObject$v
	add	sp,16
	push	seg @CloseWindow$qn7CObject
	push	offset @CloseWindow$qn7CObject
	push	large 0
	push	ds
	push	offset DGROUP:s@+121
	push	dword ptr [bp-8]
	call	far ptr @CMenu@AddItem$qnzcn4CBarnqn7CObject$v
	add	sp,16
	push	large 0
	push	large 0
	push	0
	push	ds
	push	offset DGROUP:s@+126
	push	dword ptr [bp-12]
	call	far ptr @CBar@AddItem$qnzcnqn7CObject$vt1i
	add	sp,18
	push	large 0
	push	0
	push	seg @ClickMenu_Open$qn7CObject
	push	offset @ClickMenu_Open$qn7CObject
	push	ds
	push	offset DGROUP:s@+133
	push	dword ptr [bp-12]
	call	far ptr @CBar@AddItem$qnzcnqn7CObject$vt1i
	add	sp,18
	push	large 0
	push	0
	push	seg @ClickMenu_Save$qn7CObject
	push	offset @ClickMenu_Save$qn7CObject
	push	ds
	push	offset DGROUP:s@+140
	push	dword ptr [bp-12]
	call	far ptr @CBar@AddItem$qnzcnqn7CObject$vt1i
	add	sp,18
	push	dword ptr [bp-12]
	call	far ptr @CBar@AddSeparator$qv
	add	sp,4
	push	large 0
	push	0
	push	seg @CloseWindow$qn7CObject
	push	offset @CloseWindow$qn7CObject
	push	ds
	push	offset DGROUP:s@+147
	push	dword ptr [bp-12]
	call	far ptr @CBar@AddItem$qnzcnqn7CObject$vt1i
	add	sp,18
	push	large 0
	push	large 0
	push	0
	push	ds
	push	offset DGROUP:s@+154
	push	dword ptr [bp-16]
	call	far ptr @CBar@AddItem$qnzcnqn7CObject$vt1i
	add	sp,18
	push	large 0
	push	large 0
	push	0
	push	ds
	push	offset DGROUP:s@+161
	push	dword ptr [bp-16]
	call	far ptr @CBar@AddItem$qnzcnqn7CObject$vt1i
	add	sp,18
	push	large 0
	push	large 0
	push	0
	push	ds
	push	offset DGROUP:s@+166
	push	dword ptr [bp-16]
	call	far ptr @CBar@AddItem$qnzcnqn7CObject$vt1i
	add	sp,18
	push	large 0
	push	large 0
	push	0
	push	ds
	push	offset DGROUP:s@+171
	push	dword ptr [bp-20]
	call	far ptr @CBar@AddItem$qnzcnqn7CObject$vt1i
	add	sp,18
	push	large 0
	push	large 0
	push	0
	push	ds
	push	offset DGROUP:s@+178
	push	dword ptr [bp-20]
	call	far ptr @CBar@AddItem$qnzcnqn7CObject$vt1i
	add	sp,18
	push	large 0
	push	large 0
	push	0
	push	ds
	push	offset DGROUP:s@+183
	push	dword ptr [bp-20]
	call	far ptr @CBar@AddItem$qnzcnqn7CObject$vt1i
	add	sp,18
	push	large 0
	push	large 0
	push	0
	push	ds
	push	offset DGROUP:s@+188
	push	dword ptr [bp-24]
	call	far ptr @CBar@AddItem$qnzcnqn7CObject$vt1i
	add	sp,18
	push	large 0
	push	large 0
	push	0
	push	ds
	push	offset DGROUP:s@+195
	push	dword ptr [bp-24]
	call	far ptr @CBar@AddItem$qnzcnqn7CObject$vt1i
	add	sp,18
	push	large 0
	push	large 0
	push	0
	push	ds
	push	offset DGROUP:s@+200
	push	dword ptr [bp-24]
	call	far ptr @CBar@AddItem$qnzcnqn7CObject$vt1i
	add	sp,18
	push	dword ptr [bp-4]
	push	large 0
	call	far ptr @CButton@$bctr$qn7CObject
	add	sp,8
	mov	word ptr [bp-26],dx
	mov	word ptr [bp-28],ax
	push	ds
	push	offset DGROUP:s@+209
	push	large 000180064h
	push	large 000640064h
	push	dx
	push	ax
	call	far ptr @CObject@CreateObject$qiiiinxzc
	add	sp,16
	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 @@CWindow@PurseMessage$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	
@MenuInstance$qv	endp
MENUFC_TEXT	ends
MENUFC_TEXT	segment byte public use16 'CODE'
@CWindow@PurseMessage$qv	segment	virtual
	assume	cs:@CWindow@PurseMessage$qv
@@CWindow@PurseMessage$qv	proc	far
	push	bp
	mov	bp,sp
	push	dword ptr [bp+6]
	les	bx,dword ptr [bp+6]
	mov	bx,word ptr es:[bx]
	call	dword ptr [bx+40]
	add	sp,4
	pop	bp
	ret	
@@CWindow@PurseMessage$qv	endp
	?debug	C E9
	?debug	C FA00000000
@CWindow@PurseMessage$qv	ends
MENUFC_TEXT	ends
_DATA	segment word public use16 'DATA'
s@	label	byte
	db	0
	db	'abc.txt'
	db	0
	db	196
	db	227
	db	209
	db	161
	db	212
	db	241
	db	193
	db	203
	db	180
	db	242
	db	191
	db	170
	db	206
	db	196
	db	188
	db	254
	db	'---'
	db	10
	db	'    %s'
	db	0
	db	180
	db	242
	db	191
	db	170
	db	206
	db	196
	db	188
	db	254
	db	0
	db	'abc2.txt'
	db	0
	db	196
	db	227
	db	209
	db	161
	db	212
	db	241
	db	193
	db	203
	db	193
	db	237
	db	180
	db	230
	db	206
	db	170
	db	206
	db	196
	db	188
	db	254
	db	'---'
	db	10
	db	'    %s'
	db	0
	db	180
	db	242
	db	191
	db	170
	db	206
	db	196
	db	188
	db	254
	db	0
	db	180
	db	176
	db	191
	db	218
	db	202
	db	181
	db	192
	db	253
	db	0
	db	206
	db	196
	db	188
	db	254
	db	0
	db	177
	db	224
	db	188
	db	173
	db	0
	db	180
	db	176
	db	191
	db	218
	db	0
	db	176
	db	239
	db	214
	db	250
	db	0
	db	185
	db	216
	db	177
	db	213
	db	0
	db	208
	db	194
	db	'  '
	db	189
	db	168
	db	0
	db	180
	db	242
	db	'  '
	db	191
	db	170
	db	0
	db	193
	db	237
	db	180
	db	230
	db	206
	db	170
	db	0
	db	205
	db	203
	db	'  '
	db	179
	db	246
	db	0
	db	200
	db	161
	db	'  '
	db	207
	db	251
	db	0
	db	191
	db	189
	db	177
	db	180
	db	0
	db	213
	db	179
	db	204
	db	249
	db	0
	db	215
	db	238
	db	180
	db	243
	db	187
	db	175
	db	0
	db	210
	db	198
	db	182
	db	175
	db	0
	db	184
	db	180
	db	212
	db	173
	db	0
	db	201
	db	207
	db	207
	db	194
	db	206
	db	196
	db	0
	db	203
	db	247
	db	210
	db	253
	db	0
	db	214
	db	247
	db	204
	db	226
	db	178
	db	233
	db	209
	db	175
	db	0
	db	'abc'
	db	0
_DATA	ends
MENUFC_TEXT	segment byte public use16 'CODE'
MENUFC_TEXT	ends
	public	@MenuInstance$qv
	public	@ClickMenu_Save$qn7CObject
	public	@ClickMenu_Open$qn7CObject
	extrn	@AfxOpenFileDialog$qinzcnxzct3:far
	extrn	@AfxMessageBox$qnzct1ul:far
	extrn	@CloseWindow$qn7CObject:far
	extrn	@CCloseButton@$bctr$qn7CObject:far
	extrn	@CButton@$bctr$qn7CObject:far
	extrn	@CWindow@$bctr$qv:far
	extrn	@CWindow@ShowWindow$qul:far
	extrn	@CWindow@Center$qv:far
	extrn	@CWindow@CreateWindow$qiiiinxzc:far
	extrn	@CMenu@$bctr$qn7CObject:far
	extrn	@CMenu@AddItem$qnzcn4CBarnqn7CObject$v:far
	extrn	@CBar@$bctr$qn7CObject:far
	extrn	@CBar@AddSeparator$qv:far
	extrn	@CBar@AddItem$qnzcnqn7CObject$vt1i:far
	extrn	@CObject@CreateObject$qiiiinxzc:far
	extrn	@GetMaxY$qv:far
	extrn	@GetMaxX$qv:far
	extrn	_sprintf:far
_pokeb	equ	pokeb
_poke	equ	poke
_peekb	equ	peekb
_peek	equ	peek
_atoi	equ	atoi
_abs	equ	abs
_s@	equ	s@
	end
