Re: [Win32Lib] scroll a window with text?
- Posted by George Walters <gwalters at sc.rr.com> Jun 24, 2002
- 417 views
well, i guess i don't know exactly what you're trying to do. if you're adding items to the list and want it to scroll up as you add them to the bottom, then i think you'll have to do that yourself. george ----- Original Message ----- From: "Dan Moyer" <DANIELMOYER at prodigy.net> To: "EUforum" <EUforum at topica.com> Subject: Re: [Win32Lib] scroll a window with text? > > George, > > I'd neglected to notice that one, but I'd already found & used WS_VSCROLL & > WS_HSCROLL, and all either WS_SCROLLBARS or the two h-v does for me is put > scrollbars on the window, it doesn't "automatically" cause scrolling of text > in the window on use. > > Do you get actual text scrolling?? > > Dan > > > ----- Original Message ----- > From: "George Walters" <gwalters at sc.rr.com> > To: "EUforum" <EUforum at topica.com> > Sent: Monday, June 24, 2002 8:56 AM > Subject: Re: [Win32Lib] scroll a window with text? > > > > Dan, this does it for me... > > > > idList = > > > create(List,"",mainWindow,0,0,screenWidth-2*widthFrame,sh-85,WS_SCROLLBARS), > > > > george > > ----- Original Message ----- > > From: "Dan Moyer" <DANIELMOYER at prodigy.net> > > To: "EUforum" <EUforum at topica.com> > > Sent: Monday, June 24, 2002 9:46 AM > > 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 > > > > > > > > >