RE: [Win32Lib] scroll a window with text?
- Posted by Derek Parnell <Derek.Parnell at SYD.RABOBANK.COM> Jun 27, 2002
- 375 views
This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_000_01C21DB8.C422FB10 charset=iso-8859-1 Dan, you really must read your private mail first. I've answered all this stuff in a mail I sent to you about 6 hours ago. > -----Original Message----- > From: Dan Moyer [mailto:DANIELMOYER at prodigy.net] > Subject: Re: [Win32Lib] scroll a window with text? > > > > Could the person who contributed the procedure > "setWindowScrollRange" to Derek for Win32Lib > (or anyone else who might know), > explain what exactly to use for the "pageSize" parameter? > > The "setWindowScrollRange" procedure is defined thusly: > global procedure setWindowScrollRange(integer id, integer typeScroll, > integer min, > integer max, atom pageSize) > -- Martin : sets scroll range for window scrolbar > -- type idenitifies scrollbar - > -- SB_HORZ : window horizontal sb > -- SB_VERT : window vertical sb > -- SB_CTL : control (same as setScrollRange) > -- (maybe replace this with setHScrollRange, etc.) > -- pageSize specifies size of one page (allows set size > of proportional > scrollbar) > > > Alternatively, is it possible to use "global procedure > setScrollRange" to > set the scrollbars' ranges for a window? It looks like the > code for the > procedure makes it possible, but I don't know how to involve > & distinguish > horizontal & vertical scrollbars; I see "lMsgCode = SB_VERT" > & its sibling > in the code for "if the control is a window", but I can't see > how they are > presented or made available to the procedure. > > tia, > Dan Moyer > > > > ================================================================== De informatie opgenomen in dit bericht kan vertrouwelijk zijn en is uitsluitend bestemd voor de geadresseerde. Indien u dit bericht onterecht ontvangt wordt u verzocht de inhoud niet te gebruiken en de afzender direct te informeren door het bericht te retourneren. ================================================================== The information contained in this message may be confidential and is intended to be exclusively for the addressee. Should you receive this message unintentionally, please do not use the contents herein and notify the sender immediately by return e-mail. ================================================================== ------_=_NextPart_000_01C21DB8.C422FB10 Content-Type: application/ms-tnef