🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.os.os2.programmer
2 messages
2 total messages Started by Jen Che Huang Sat, 27 Oct 1990 07:11
Double Menu Application
#1593
Author: Jen Che Huang
Date: Sat, 27 Oct 1990 07:11
15 lines
958 bytes
Has anybody created a PM program with two levels of menu?  What I'm
trying to do is to create a menu system where there is a menu bar and
below the menu bar is another menu bar where the user can select
a disk drive.

A good example of what I am trying to do is the program FDISKPM.EXE. 
Where the program allows the user to select between the hard disk.

If you have any sample codes or suggestion, please let me know so I can
upgrade my current program.

Thank you,
Jim Huang
Senior Computer Science @ Oregon State University
Re: Double Menu Application
#1596
Author: lsalomo
Date: Mon, 29 Oct 1990 14:41
23 lines
1481 bytes
From article <21355@orstcs.CS.ORST.EDU>, by huangj@mist.cs.orst.edu (Jen Che Huang):
> 
> Has anybody created a PM program with two levels of menu?  What I'm
> trying to do is to create a menu system where there is a menu bar and
> below the menu bar is another menu bar where the user can select
> a disk drive.

Why don't you have a submenu with the title "Drive" and the submenu items
be the drive names themselves?  This way, (at least) the menus would be more
CUA-ish, and thus easier to use.  Use DosQCurDrive (I think) to get the
current drive being used and a bitmap of all of the valid drives on the
system.  This way, you can immediately place a checkmark next to the drive
that the system was started from.

Cheers,
Q - the "Q"uestor for knowledge (, a degree, etc.)

lsalomo@hubcap.clemson.edu
ibmman@prism.clemson.edu
ibmman@clemson.clemson.edu
=============================================================================
"Gee Wally, I think there's something wrong with the Beaver."
=============================================================================
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads