Ulrich Czekalla wrote:

Currently the code always removes its internal WS_BORDER flag so it
doesn't paint its own border. Basically it leaves it to the default
nonclient handler. But it should only do this if WS_EX_CLIENTEDGE is
set. Otherwise it removes the WS_BORDER style and paints the border itself.

The SetWindowLong call is necessary otherwise the default non-client code
will allocate non-client space for the border and we don't want that. We
want to handle the border ourselves.



Thanks. I see what you mean now.

Rob




Reply via email to