1. A scrolling question and a tab question
- Posted by browncy at auburn.edu Apr 24, 2001
- 355 views
I'm writing text to a window with wPuts() and wPrint() I need to be able to make the window scrollable to see all of the text. Is there a way to render this? I know how to do it without smoothly scrolling, by showing a page at a time, but I'd much rather get a VScroll to work. And I'd like to avoid using a List or a RichEdit if at all possible. Any suggestions? My tab question is pretty easy. On a tab control, how do I get a certain tab to be selected? On the window's open event, I want a certain tab to be displayed. Thanks, Derek Brown
2. Re: A scrolling question and a tab question
- Posted by Derek Parnell <ddparnell at bigpond.com> Apr 24, 2001
- 361 views
Derek Brown wrote: > I'm writing text to a window with wPuts() and wPrint() I need to be able > to make the window scrollable to see all of the text. Is there a way to > render this? I know how to do it without smoothly scrolling, by showing > a page at a time, but I'd much rather get a VScroll to work. And I'd > like to avoid using a List or a RichEdit if at all possible. Any > suggestions? Just guessing but you could try BitBlt to scroll the client area on a Scroll event and then draw the single "uncovered" line. I used this technique on DOS and Amiga platforms with some success. I'll see if I can knock up a simple demo. ------ Derek Parnell Melbourne, Australia "To finish a job quickly, go slower."