home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / windows / x / motif / 8825 < prev    next >
Encoding:
Text File  |  1993-01-25  |  1.9 KB  |  49 lines

  1. Newsgroups: comp.windows.x.motif
  2. Path: sparky!uunet!think.com!paperboy.osf.org!paperboy!drand
  3. From: drand@spinner.osf.org (Douglas S. Rand)
  4. Subject: Re: MenuBar challenge
  5. In-Reply-To: sglanger@vela.acs.oakland.edu's message of Sun, 24 Jan 1993 16:03:26 GMT
  6. Message-ID: <DRAND.93Jan25155426@spinner.osf.org>
  7. Sender: news@osf.org (USENET News System)
  8. Organization: Open Software Foundation
  9. References: <1993Jan24.154916.29978@vela.acs.oakland.edu>
  10.     <1993Jan24.160326.2070@vela.acs.oakland.edu>
  11. Distribution: na
  12. Date: 25 Jan 93 15:54:26
  13. Lines: 34
  14.  
  15. In article <1993Jan24.160326.2070@vela.acs.oakland.edu> sglanger@vela.acs.oakland.edu (LANGER STEVEN C) writes:
  16.  
  17.      I know that the menubar is "supposed to" only accept homogenous
  18.    children of type pull down menu. My problem is, my clients want a
  19.    display like this
  20.  
  21.    -- /MainWin                                  small | BIG
  22.    ------------------------------------------------------------------
  23.    PD1   PD2  PD3    Pd4   Help           < _________> 75%
  24.    -------------------------------------------------------------------
  25.  
  26.        work area
  27.  
  28.  
  29.    I've got the menubarr set up with the pulldowns as shown above
  30.    and enough space on the right to hold the "Power meter"
  31.    it consists of left and right arrows, colored segments (like
  32.    a tape decks VU meter) and the power value numeric displayed to
  33.    the right.
  34.  
  35.    I've already got the power meter written (all subclassed on a drawing
  36.    area) and attached just under the menubar. The clients want it ON
  37.    the menubar. Is there some way to "fake out" the menubars homogeneous
  38.    setting?
  39.  
  40. You could set the shadow thickness to 0 on the menubar,  and use
  41. another manager to paste together the menubar and your meter.  That
  42. composite could then be encased in a Frame with the appropriate 
  43. shadow. 
  44. --
  45. Douglas S. Rand <drand@osf.org>        OSF/Motif Dev.
  46. Snail:         11 Cambridge Center,  Cambridge,  MA  02142
  47. Disclaimer:    I don't know if OSF agrees with me... let's vote on it.
  48. Amateur Radio: KC1KJ
  49.