[comp.sys.sun] Scrollbar on sunview window

zador-anthony@yale.edu (anthony zador) (11/17/89)

How do I put a scrollbar on a sunview window?

Tony Zador
zador@cs.yale.edu

bauman@shell.com (Evan Bauman) (11/27/89)

>How do I put a scrollbar on a sunview window?

Just use the proper options in the window_create function!  For example:

window_create(frame,PANEL,
             WIN_VERTICAL_SCROLLBAR, scrollbar_create(0),
             0);

will create a vertical scrollbar.  See the Sunview Programmer's Guide
for some more detailed info.

	Evan G. Bauman
	Shell Development Company - Westhollow Research Center
	PO Box 1380; Houston, TX 77251-1380
	bauman@shell.com   or for the uucp types: {sun,bcm}!shell!bauman