Re: Floating Child Windows

new topic     » goto parent     » topic index » view thread      » older message » newer message

> 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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu