Aldo Calpini wrote:
> to clarify the question: several options are internally
> converted to bits of styles; for example, adding the option
> 
>     -visible => 1
> 
> really means, to the underlying Win32 APIs, to turn on the
> WS_VISIBLE bit in a DWORD that holds all the style
> information. by using -style you are explicitly giving the
> *whole* value for this DWORD, so you are mangling the
> rest of the options you're giving, as well as estabilished
> default styles for various window types.

Why doesn't -visible => 1/0 use -addstyle or -remstyle instead? That
would avoid a bug that could be hard to track for anyone who doesn't
know about this.

Or maybe I'm completely off track now?

        -Ludde

Reply via email to