home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.ms-windows.programmer.misc
- Path: sparky!uunet!cs.utexas.edu!sun-barr!ames!pacbell.com!pacbell!sactoh0!sap
- From: sap@sactoh0.sac.ca.us (Stephan A. Puga)
- Subject: Using listbox to display info
- Message-ID: <1992Aug18.163232.19620@sactoh0.sac.ca.us>
- Organization: Sacramento Public Access Unix
- Date: Tue, 18 Aug 92 16:32:32 GMT
- Lines: 20
-
- I am using a listbox to display information and I wanted it to
- automatically scroll when a new line is added. The biggest problem
- I am having is finding the best way to remove the annoying green
- bar! I think I have solved the problem of a user being able to
- select a line by setting the focus back to the parent window when a
- line is clicked on.
-
- I am currently using two SendMessage calls to scroll the window by
- LB_GETCURSEL and the second to turn off the green bar.
- Unfortunately, this method causes the green bar to flash
- annoyingly. If anyone has found a good workaround, please let me
- know!
-
- Thanks!
-
- --
- #############################################################
- # "Its been surreal!" # sap@sactoh0.SAC.CA.US #
- # -- Gogo Dodo # UUCP=..ames!pacbell!sactoh0 #
- #############################################################
-