home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.windows.x
- Path: sparky!uunet!stanford.edu!leland.Stanford.EDU!dankoski
- From: dankoski@leland.Stanford.EDU (Paul Dankoski)
- Subject: Xview Pinnable Windows.
- Message-ID: <1992Sep14.035954.19010@leland.Stanford.EDU>
- Keywords: Xview, SUN
- Sender: news@leland.Stanford.EDU (Mr News)
- Organization: Stanford University
- Distribution: ba
- Date: Mon, 14 Sep 92 03:59:54 GMT
- Lines: 39
-
-
- Hello, I am looking for anyone with experience with
- pinnable menus in XView. I am trying to modify the
- menu_dir2.c file in the back of the XView Programming
- Manual (3rd Edition). Here's the problem:
-
-
- When I add about 60 items to a pullright menu it will format
- the pop-up menu fairly nicely (in 3 columns). But when I pin
- the same menu it comes out in only a single column (which happen to
- run off the edge of my screen). I have tried setting the
- attribute MENU_NCOLS to 3 (say). And when I pin the menu I
- still get only 1 column of data.
-
- Is this the default behavior? I realize I could try to
- add a MENU_PIN_PROC to replace the menu_default_pin_proc().
- However, I would prefer not to replace the default behavior if there
- is a cleaner solution. Perhaps the solution has something
- to do with the fact that once you pin a window it is
- no longer a menu?
-
- Thanks for your help,
-
- Paul Dankoski
-
-
-
- Other points:
- I am attaching the menus to a panel instead of a canvas.
- (I don't think that this should be a problem).
- I have tried setting the attribute MENU_NCOLS to 3 both
- before and after I have added the menu_items to the menu
- with no impact on the problem.
-
- --
- Paul Dankoski
- email: dankoski@isl.stanford.edu
- W1: (415) 723-3024
- W2: (415) 725-6948
-