home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / windows / openloo / 4941 < prev    next >
Encoding:
Text File  |  1992-12-31  |  908 b   |  29 lines

  1. Newsgroups: comp.windows.open-look
  2. Path: sparky!uunet!island!coney!hue
  3. From: hue@island.COM (Pond Scum)
  4. Subject: Re: XView question: Menu buttons
  5. Message-ID: <hue.725790937@coney>
  6. Keywords: XView, panels, menu-buttons
  7. Sender: usenet@island.COM (The Usenet mail target)
  8. Organization: Island Graphics Corp.
  9. References: <1992Dec30.182502.27923@cs.wayne.edu>
  10. Date: Thu, 31 Dec 1992 08:35:37 GMT
  11. Lines: 16
  12.  
  13. rvt@pandora.cs.wayne.edu (Rahul V. Tikekar) writes:
  14. >A question on XView and menu buttons. How do I get the
  15. >the triangle in the menu button of a panel to point to
  16. >the right? Currently, it points down.
  17.  
  18. A quick glance at the source code would have told you that the direction
  19. depends on the setting of PANEL_LAYOUT.
  20.  
  21. From contrib/lib/xview/lib/xview/panel/p_btn.
  22.  
  23.     if (panel->layout == PANEL_VERTICAL)
  24.         state |= OLGX_HORIZ_MENU_MARK;
  25.     else
  26.         state |= OLGX_VERT_MENU_MARK;
  27.  
  28. -Jonathan    hue@island.COM
  29.