In my case, my window has no title bar and no frame, I do dragging window by
myself.
In the NSView in the window
- (void)mouseDown:(NSEvent*)event {
self.mouse = [event locationInWindow];
}
- (void)mouseDragged:(NSEvent *)event {
NSPoint location = [NSEvent mouseLocation];
location.x
> On Dec 17, 2015, at 18:32, Cem Karan wrote:
>
> All that works, but the problem is that I'm not getting window positions
> quickly enough; as long as a window is being dragged, it won't send out a
> notification about its position, which means all the windows get out of sync
> with one anoth
NSWindow -frame doesn't update synchronously when dragging (which is weird,
because other NSWindow public API that also depend on the exact window frame,
e.g. NSWindow -mouseLocationOutsideOfEventStream, work as expected during
window drags).
One option might be to grab the NSWindow's rect via
Hi all, I'm working on an application that has one primary window and multiple
support windows. The support windows show auxiliary information for what is in
the primary window, but not off to the side; they are more like color filters
or X-ray glasses. You slide them over the primary, and the
> On 18 Dec 2015, at 1:49 AM, sqwarqDev wrote:
>
> A couple of years ago I was messing around with NSTextView and NSTextStorage
> and accidentally ended up with a method that printed my string (could have
> been attributed string) to my textview one character at a time, rather like
> an old
A couple of years ago I was messing around with NSTextView and NSTextStorage
and accidentally ended up with a method that printed my string (could have
been attributed string) to my textview one character at a time, rather like an
old fashioned teleprinter.
At the time, that wasn’t the effect