Re: [Win32Lib] scroll a window with text?
- Posted by Dan Moyer <DANIELMOYER at prodigy.net> Jun 25, 2002
- 382 views
Derek, Actually, your example 12b already uses bitBlt in it, working just fine, but only with the cursor keys. I'd try to make it work with scrollbar, but I don't understand what to use for "pageSize" in: --/proc setWindowScrollRange ( id, typeScroll, min, max, pageSize) Oh, and the html doc doesn't jump to the link for that procedure. And since Topica is going to be down for who knows how long, better reply direct, sigh! Dan ----- Original Message ----- From: "Derek Parnell" <Derek.Parnell at SYD.RABOBANK.COM> To: "EUforum" <EUforum at topica.com> Sent: Monday, June 24, 2002 2:46 PM Subject: RE: [Win32Lib] scroll a window with text? > > I'm just guessing here, but you might be able to use bitBlt() to shift the > window's image of the existing text around then write the new text line to > the top or bottom as required. Special attention might be needed if the text > doesn't fill the current window. > > > > -----Original Message----- > > From: Dan Moyer [mailto:DANIELMOYER at prodigy.net] > > Sent: Monday, 24 June 2002 23:49 > > To: EUforum > > Subject: [Win32Lib] scroll a window with text? > > > > > > If I have a window with scroll bars, and have "filled" the > > window with text, > > is there a way to make that text *scroll* via the scroll > > bars??? I mean > > other than re-writing the text from a new top line as is done > > in example 12, > > colored text & re-drawing the window? > > > > Dan Moyer > > > > > ================================================================== > > > ================================================================== > > > >