home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!kithrup!hoptoad!decwrl!csus.edu!csusac!unify!openlook!openlook-request
- Message-ID: <1nbffl5@openlook.Unify.Com>
- Newsgroups: comp.windows.open-look
- Distribution: world
- Date: Thu, 20 Aug 92 14:11:45 EDT
- From: fgreco@fis1026.shearson.com (Frank Greco)
- Sender: news@Unify.Com
- Subject: Re: Question on XView scrolling list display
- Lines: 22
-
- > Is there anyway to control where a scroll list is scrolled to under XView?
-
- But of course!
-
- > I want to add a sorted item and then have the scroll list scrolled to the
- > newly add item.
-
- This was asked some time ago. Here's my little routine to do the
- trick (from [my] memory):
-
- SetListStart(list, num)
- Panel_list list;
- int num;
- {
- return xv_set((Scrollbar)xv_get(list, PANEL_LIST_SCROLLBAR),
- SCROLLBAR_VIEW_START, num,
- NULL);
- }
-
- Frank G.
- =-=-=-=-=-=-=-=-=-=
-
-