Sorry for my poor English.
The window has a view object which has an NSScrollView as a member variable.
A subclass of NSMatrix is its document view.
The matrix has many rows and you can scroll it to its end by clicking a
button.
When the window opens, the view (which has an NSScrollView) is not vis
FYI, When the scroll view doesn't need to scroll at all, the documentView is
shown, this is, its cells are visible.
2008/5/23 norio <[EMAIL PROTECTED]>:
> Let me correct some of the previous.
>
> The bound rectangle of the view contains the visibleRect.
>
> And argument was also the same as the
On 23 May 2008, at 11:28 pm, norio wrote:
However, the trouble happened as I mentioned in the last message.
Actually no, you didn't. You have not actually stated what the problem
is that you are having. You have made several statements which appear
to be observations, but they are not co
Let me correct some of the previous.
The bound rectangle of the view contains the visibleRect.
And argument was also the same as the visibleRect.
The matrix was on a clip view and the clip view was on a scrollview.
And the scrollview is usually hidden when the window where the scroll
view is
Hi,
Sorry for the previous incomplete message.
By the way, what I want to know is:
What cases make visibleRect.origin to be NSZeroPoint?
Since my matrix view didn't draw its cells, I put a log code before and
after its super view's drawRect to show the visible rectangle like
following:
@interfa
On 23 May 2008, at 11:04 pm, Norio wrote:
Hi,
What cases make visibleRect.origin to be NSZeroPoint?
The common case when your view's top,left (or bottom, left if
unflipped) corner is visible. Did you expect something else? What?
G.
___
Coco
Hi,
What cases make visibleRect.origin to be NSZeroPoint?
Since my matrix view didn't draw its cells, I put a log code before and
after its super view's drawRect to show the visible rectangle like
following:
@interface MyMatrix : NSMatrix
@implement MyMatrix
-(void)drawRect:(NSRect)rect
{
__