home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / mswindo / programm / misc / 1053 < prev    next >
Encoding:
Internet Message Format  |  1992-07-28  |  1.1 KB

  1. Path: sparky!uunet!uchdcc!vandi!pam
  2. From: pam@vandi.ars.cl (Pablo Ahumada M.)
  3. Newsgroups: comp.os.ms-windows.programmer.misc
  4. Subject: Re: hiding scrollbars when not needed 
  5. Distribution: world
  6. Message-ID: <712335976snx@vandi.ars.cl>
  7. References: <620@irst.UUCP>
  8. Organization: Ars Innovandi (El arte de innovar)
  9. Lines: 23
  10. Date: Tue, 28 Jul 1992 14:20:55 CST
  11.  
  12.  
  13.   > I would like to know if it's possible to hide the scrollbars in a window,
  14.   > created with the style attributes WS_VSCROLL and WS_HSCROLL, when the
  15.   > entire document fits in the window so that scrolling is not needed.
  16.   > I know that I could create the scrollbar controls explicitly, but this
  17.   > requires also positioning and controlling them, so I would prefer to use
  18.   > the standard window scrollbars if possible.
  19.  
  20.  
  21.    Use ShowScrollBar, the last parameter allow shows or hides
  22.    the scroll bar from a window.
  23.  
  24.   Hope this helps.
  25.  
  26.   Pablo.
  27.  
  28.  
  29. _______________________________________________________________
  30.  
  31.    Pablo Ahumada Mardones       uucp : pam@vandi.ars.cl
  32.                    FAX    : (56-2) 231 9756
  33.    &8-)*               Santiago, Chile
  34. _______________________________________________________________
  35.