Re: Create window? How?
- Posted by Greg Haberek <ghaberek at gmail.com> Oct 07, 2004
- 415 views
------=_Part_31_30356900.1097130203732 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline Michelle - I think this is what you're looking for. I whipped up a little demo with a Window inside a Window that's bigger than its parent, and moves inside the parent using the scroll bars. I've attached it to this message. Derek - Maybe you should include this in the Win32Lib demos? That'd be great. Thanks. ~Greg On Wed, 06 Oct 2004 19:56:06 -0700, Derek Parnell <guest at rapideuphoria.com> wrote: > > posted by: Derek Parnell <ddparnell at bigpond.com> > > Michelle Rogers wrote: > > > > scrolled windows.....now that's something i haven't been able to figure > > out........i can add the scroll bar...but i can't figure out how to make it > > scroll when you move the scrollbar.... > > *hangs her head in defeat* > > When you say "how to make it scroll", what exactly are you trying to > scroll? > > The normal way is to trap the scroll event and then adjust the display > accordingly. In other words, the scrollbar doesn't *cause* your stuff > to move, it just tells your program that the user would like to move > your stuff, but you still have to do the moving. > > -- > Derek Parnell > Melbourne, Australia > > > > > ------=_Part_31_30356900.1097130203732 Content-Type: application/octet-stream; name="scrollwin.exw"