Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!udel!haven!ncifcrf!lhc!lhc.nlm.nih.gov!warsaw From: warsaw@nlm.nih.gov (Barry A. Warsaw) Newsgroups: comp.windows.open-look Subject: XView: TEXTSW questions Message-ID: Date: 12 Apr 91 19:34:15 GMT Sender: usenet@nlm.nih.gov (usenet news poster) Reply-To: warsaw@nlm.nih.gov Organization: Century Computing, Inc. Lines: 19 I have a question about TEXTSW that hopefully some of you have come across. Is there any way to programmatically inverse-video certain words in a TEXTSW? I am writing a full-text database retrieval application and I need to highlight all the words in a document that match a user's query. Each document gets placed in a single TEXTSW. There many words in each document (TEXTSW window) that must be highlighted. I know I can search the text in a TEXTSW but I also need to be able to somehow highlight regions of text programmatically. Even changing the color or bolding some text would be acceptable. Thanks in advance. -Barry NAME: Barry A. Warsaw INET: warsaw@nlm.nih.gov TELE: (301) 496-1936 UUCP: uunet!nlm.nih.gov!warsaw