gerard patel wrote in message
<[EMAIL PROTECTED]>...

>An interesting approach could be to not show the window in this
>case (0 width or 0 height), but it would be difficult - it would
>be necessary to create or delete the X counterpart when the dimensions
>of a 'native' window are changed


Well, I guess the idea about creating 0x0 top-level window is to have common
("invisible") owner for other top-level windows. So you can't reset
WS_VISIBLE for this window because it will hide all owned windows. X doesn't
allow 0-sized windows, setting size 1x1 also creates problems. So your idea
is probably the only one which will work. I don't know much about
X-programming but does X dislikes 0-sized windows at all or only in mapped
state? If it is the last case we can just unmap such windows instead of
deleting them.

--
Serge Ivanov
[EMAIL PROTECTED]



-- 
The address in the headers is not the poster's real email address.  Do not send
private mail to the poster using your mailer's "reply" feature.  CC's of mail 
to mailing lists are OK.  Problem reports to "[EMAIL PROTECTED]".  
The poster's email address is "[EMAIL PROTECTED]".

Reply via email to