🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms.programmer
Article #681

What is the best way to control window programming?

#681
From: F0O
Date: Thu, 22 Nov 1990 18:00
23 lines
1738 bytes
     This is a general question about any kind of window programming(
although this statement may be too general!).  I'm beginning to write a
logic simulation program in PDC prolog, and the user interface wil be
pulldown menus, dialog boxes, etc.  I may also include mouse support.
Since I don't have much money to spend, I'm writing all of my menu support
routines.  I'll also learn alot too!
     My big question is, whenever you call a routine to put a pulldown
menu on the screen, and you select an option, should the pulldown menu
routine handle the user request, or should the request be passed back to
the main program, which then handles the request?
     The big advantage I would see about having the pulldown menu routine
handle the request is when the requests pull up other menus(i.e. Borland's
Sprint word processor).  This way, whenever you leave the current menu(
say by hitting the ESC key), you'll be placed back where you left off in
the previous menu.
     Also, are there any books or other information that talk about
writing your own GUI?  I'd also be curious to see what the internal data
structures are of a working GUI.  I imagine they vary from one implementation
to another, but there must be alot in common among them.


                                                           [Tim]
Technical Details
Message-ID: <90326.130039F0O@psuvm.psu.edu>
Path: arc1-ca.pugleaf.net!utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!julius.cs.uiuc.edu!psuvax1!psuvm!f0o

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!julius.cs.uiuc.edu!psuvax1!psuvm!f0o
From: F0O@psuvm.psu.edu
Newsgroups: comp.windows.ms.programmer
Subject: What is the best way to control window programming?
Message-ID: <90326.130039F0O@psuvm.psu.edu>
Date: 22 Nov 90 18:00:39 GMT
Organization: Penn State University
Lines: 23