Re: Floating Child Windows
- Posted by Don <eunexus at yahoo.com> Aug 06, 2004
- 410 views
> Applications like Paint Shop Pro and PhotoShop have floating toolbars > that don't lose focus when the main window is selected (their titlebars > don't go dim). How is that behavior achieved? Are these special toolbar > windows? child or toplevel windows with special properties? > > -=ck Their cheating. Its not a real title bar. It is basically a blank child window with a title bar painted on it. They toggle the dim look or re-enable depending on the focus of the parent window. If I remember the right API it is DrawFrameControl with type of DFC_CAPTION? Don Phillips - aka Graebel National Instruments mailto: eunexus @ yahoo.com