Re: Win32Lib GUI Behavior
- Posted by cklester <cklester at yahoo.com> Aug 12, 2004
- 557 views
Don wrote: > > > Using the program below, if you maximize the child window, it covers > > the toolbar of the parent! I don't think it's supposed to do that. Is > > there something I can do to prevent that, or is it Win32Lib related? > > > > Thanks! > > Not having good luck with this I take it? > > Actually, I believe that *is* standard behaviour. Have you ever used an application that covered the toolbar with a child window? I haven't! I just looked at paint shop pro, and here's how they do it... This first one is a restored child window. http://www.cklester.com/ss_1.jpg This second one is a maximized child window. Notice how the child window's buttons are placed what looks like on the menu bar of the parent! http://www.cklester.com/ss_2.jpg > Normally maximize > means to fill as much as possible into the parent Window, I agree... it should fill the clientRect, not the rect. > not fill as > much as possible except for other children. We're not talking about other child windows. We're talking about toolbars. Or are those children, too? :) Ah, well! Just workin' it. -=ck "Programming in a state of EUPHORIA." http://www.cklester.com/euphoria/