[comp.windows.open-look] XView - TEXTSW_INSERT_MAKES_VISIBLE

straw@cam.nist.gov (Mike Strawbridge) (01/03/91)

In my Text Subwindow, I would like to insert text using
TEXTSW_INSERT_FROM_FILE without repositioning the screen to make the
newly inserted text visible.

I am a little confused about the usage of TEXTSW_INSERT_MAKES_VISIBLE.  The
XView Programming Manual says that the possible values are TEXTSW_ALWAYS and
TEXTSW_IF_AUTO_SCROLL. I tried setting it to TEXTSW_IF_AUTO_SCROLL but what
does "TEXTSW_IF_AUTO_SCROLL" really mean?  TEXTSW_AUTO_SCROLL_BY is an
integer attribute ... not boolean. I tried setting TEXTSW_AUTO_SCROLL_BY to
zero but this didn't work for me.

mike

-----------------------------------------------------------------------
NAME:   Michael Strawbridge             	TELE: (301) 975-3852
USMAIL: National Institute of Standards 	ARPA: straw@cam.nist.gov
		and Technology            	UUCP: uunet!cme-durer!straw
        Rm. B-146, Bldg. 225
        Gaithersburg, MD  20899