So I was hoping someone else had figured this out. :-)
A quick look at this list's archive reveals this post ...
http://lists.apple.com/archives/cocoa-dev/2007/Aug/msg00499.html
... by yours truly, which was later followed by Rogue Amoeba's
aforementioned take on this. Look here for the
I don't know anything about the old QuickTime APIs. But I would
suggest the new way to do this is use Core Animation.
Thanks for the suggestion!
I wasn't too keen on using layers for this, and fortunately, it turned
out that I can still rotate single QuickTime tracks successfully. And
I
Hi,
I have a QTMovie in a QTMovieView that I'm trying to rotate (during
display) via the following code:
--
Movie theMovie = [myQTMovie quickTimeMovie];
long theAngle = 90; // using 90 degrees as an example -- rotating by
180 degrees doesn't work either
MatrixRecord theMovieMatrix;
I have global HotKey registered using Carbon, and this HotKey
invokes a method in which I'm replacing the contents of the general
Pasteboard. [...] I'm wondering if there is a way to
programmatically call 'Paste', or if there are any facilities in
Cocoa for simulating key presses?
Perhaps this isn't the right place to ask this, but I have a Cocoa
application that uses Growl for notifications.
Have a look at the bottom of this page:
http://growl.info/documentation/developer/implementing-growl.php?lang=cocoa
You'll want to use Growl-WithInstaller.framework.
If
Is there a straight Cocoa means to detect the System Preferences/
Universal Access setting for 'Enable access for assistive devices'?
I don't think this counts as Cocoa, but it's better than AppleScript:
AXAPIEnabled()
Peter.
___
Cocoa-dev
i have checkboxes (NSButtonCell) in the first column of NSOutlineView.
problem is what should I return as object for that column.
Program is crashing there.
Try [NSNumber numberWithInt: (isChecked ? NSOnState : NSOffState)].
Also I need to show smaller font in other columns of this outline
0 libobjc.A.dylib 0x92d066f9 objc_msgSend
+ 41
1 com.apple.CoreFoundation 0x96d4b720 -[NSMutableArray
removeObject:] + 96
This could also be due to another over-released object in the array
(which is accessed via -isEqual: or something similar
I've tried making the arguments only 1 entry in the array, and the
same thing; I've both quoting and not quoting the arguments, and the
same thing; I've tried using a dash with the options and without,
and the same thing--always status=2 (fatal error).
You should unquote those paths,
I have tried the MenuRef _NSGetCarbonMenu(NSMenu* aMenu); but my
menuRef
always gets 0x0.
Is this private API still available ?
Did you remember to make the NSMenu actually create its underlying
Carbon menu before trying to get it via _NSGetCarbonMenu()? You can do
so by temporarily
Cocoa applications tend to come to the foreground automatically
whenever I drag files to their Dock icon. Sometimes, however, I'd
prefer my application to stay in the background and just start working
on the file, while giving feedback through the Dock icon.
But this isn't supposed to be a
11 matches
Mail list logo