Re: Floating Child Windows

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

Don wrote:
> 
> > 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?
> 
> 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.

Those unscrupulous buckets of scum! Oh well. Thanks, Don! Is that how
they get those tiny titlebars with the tiny close buttons with the
itty-bitty 'x'?

Actually, I just looked at the Win32Lib's EX18.EXW demo... it uses
the WS_EX_TOOLWINDOW parameter! hmmmmm. a clue even I can consider!!! :D

-=ck
"Programming in a state of EUPHORIA."
http://www.cklester.com/euphoria/

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

Search



Quick Links

User menu

Not signed in.

Misc Menu