View resizing and textured windows
View resizing and textured windows
- Subject: View resizing and textured windows
- From: Theome <email@hidden>
- Date: Mon, 15 Mar 2004 12:25:52 +0100
Hi,
I've got a problem with programatically resizing views from a textured
window. So I looked in mailing list archives and forums if someone else has
got the same problem.
I found this post from the omnigroup mailing list, but no answer to the
question.
quote from cocoa.mamasam.com/MACOSXDEV/2002/12/1/51649.php
-----
2002-12-09
How can force a textured window to recalculate the "grab" region where
clicking in allows you to drag the window?
I have a textured window with some views in it. One of the views is
optional. There's a button that can cause it to appear or hide.
When the view is hidden I'm not removing it from the content view but
just resizing it so that it has zero height. In addition to that I'm
also resizing the other view so that it takes the available space.
Problem is that the window "grab" region (the area where the user can
drag the window with) is not updated correctly (or at all) and clicking
in the other view makes the window move.
The only solution I found is changing the window size and immediately
changing it back. But this is still quite noticeable.
BTW: AFAIK This is not related to the mouseDownCanMoveWindow.
-----
That's a perfect description of my problem, but i didn't find a solution
yet. Any ideas?
TIA,
Theodor Mueller
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.