was corrupted? Was it just a matter
> of elimination? Binary search?
>
> On 22/08/2011, at 11:02 PM, P Teeson wrote:
>
>>
>> Does your user have a corrupted Font?
>> I had something somewhat similar with FreeSans.ttf and LibreOffice.
>> Took a while to tr
On 2011-08-22, at 5:11 AM, Gideon King wrote:
> I've had a report from a user of the following segv exception on 10.7.1:
>
> Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
> 0 com.apple.CoreText 0x7fff94955f89
> _ZL39CTFontDescriptorsCopyAttributesInternalPK9__CFArrayPK7__CFSetjb
Thank you for your thoughts.
On 2011-04-19, at 11:08 AM, Michael Dautermann wrote:
> On Apr 19, 2011, at 10:52 AM, P Teeson wrote:
>
>> Thanks for your suggestion.
>> I did look at all the sample projects and know about that approach.
>> But it does seem somewhat in
Thanks for your suggestion.
I did look at all the sample projects and know about that approach.
But it does seem somewhat inelegant.
Am I missing something available using IOKit?
On 2011-04-19, at 9:36 AM, Michael Dautermann wrote:
> On Apr 18, 2011, at 10:35 PM, P Teeson wrote:
>
>&g
In an app I am working on I have the below code to detect physical DVDs
attached to the computer.
io_iterator_t dvdDeviceList;
CFMutableDictionaryRef classesToMatch;
kern_return_t result = KERN_FAILURE;
// Get an iterator for all DVD devices
classesToMatch = IOServiceMatching(kIODVD
Environment: SL 10.6.6, Xcode 3.2.4
This sample project, built for SDK 10.5, runs in release mode.
But in debug mode the call to DVDInitialize(), results in a
"Program exited with status value:45".
From the searches I've made this seems to be because of
DRM issues. This is usually attributed to
In my app I want to find all mounted DVD volumes, including those mounted from
other Macs on my network.
The reason is that I want the user to be able to choose the one they want.
Here is the code I am using to find them (based on the CDROM sample from Apple):
kern_return_t FindEjectableDVDMedia
On 16-Jan-09, at 11:48 AM, Robert Claeson wrote:
On 16 Jan 2009, at 14:09, Jon C. Munson II wrote:
I've been a DB developer for many years, albeit on the PC side.
Report
writing was usually part of the tools, or, something easily found
elsewhere
in the PC world. Not so easily found on the M
I recently installed Leopard 10.5.4 and Xcode 3.1.1.
Reading the docs launches Preview by default. To see the TOC one
opens the sidebar.
However I can't get it to open on the lhs of the doc - only the rhs.
Yes I tried moving the window to the rhs of the screen and then
opening it.
Which is
But the correct solution is:
[cell0 setAlternateImage:theBlankImage]; // send messages via IBOutlet
[cell0 setState:NSOffState]; // Added this line
[cell0 setEnabled:YES];
Because it's a Toggle button and was in the ON state after being
clicked.
We can learn something every day if we're not v
I solved it - thanks for not replying so I had to find out for myself.
Seriously I appreciate it because I read more in Cocoa Drawing Guide
and learned quite bit.
respect
Peter
On 17-Jul-08, at 1:19 PM, P Teeson wrote:
I posted about this issue but so far only one response.
For the
I posted about this issue but so far only one response.
For the full details please see earlier in this thread.
This is a summary:
Initially the button has blank icons for both image and alternate image.
User clicks on button, action method is called, in that method a
different alternate image
On 16-Jul-08, at 1:03 PM, Gary L. Wade wrote:
Mac OS X Tiger 10.4.11, Xcode 2.5, G4 867mhz
I am making a Cocoa Application kids game using NSButtons.
They are of behaviour Toggle and of type Square Button and the icon
position is centred (i.e. no title) and each button has a unique tag
and is e
Mac OS X Tiger 10.4.11, Xcode 2.5, G4 867mhz
I am making a Cocoa Application kids game using NSButtons.
They are of behaviour Toggle and of type Square Button and the icon
position is centred (i.e. no title) and each button has a unique tag
and is enabled.
The icon images are in the nib file and
On 25-Jun-08, at 6:37 PM, Hamish Allan wrote:
On Wed, Jun 25, 2008 at 11:01 PM, P Teeson <[EMAIL PROTECTED]>
wrote:
What appealed to me about the NSButton was it maturity as an
interface item
and I wanted to take advantage of that.
This is a double-edged sword: I for one would f
On 25-Jun-08, at 4:13 PM, Kevin Elliott wrote:
On Jun 25, 2008, at 12:12 PM, P Teeson wrote:
Environment is Mac OS X 10.4.11 Xcode 2.5
I need a new type of NSButton/NSButtonCell that I am calling an
NSLatchButton.
Once it is pushed it stays pushed - pushing it again does not
revert it
On 25-Jun-08, at 3:21 PM, Marco Masser wrote:
Once it is pushed it stays pushed - pushing it again does not
revert it back to unpushed state.
You could simply hook up an appropriate kind of a standard NSButton
to an IBAction that disables the button.
That way, you can't click it anymore and
On 25-Jun-08, at 3:22 PM, I. Savant wrote:
I need a new type of NSButton/NSButtonCell that I am calling an
NSLatchButton.
Once it is pushed it stays pushed - pushing it again does not
revert it back
to unpushed state.
(Of course there would be a method to set it to it's unlatched
state but
Environment is Mac OS X 10.4.11 Xcode 2.5
I need a new type of NSButton/NSButtonCell that I am calling an
NSLatchButton.
Once it is pushed it stays pushed - pushing it again does not revert
it back to unpushed state.
(Of course there would be a method to set it to it's unlatched state
but p
begin rant:
Oh me oh my the poor newcomers to Cocoa. Sorry folks back in the days
of 360 mainframes there were manuals and they were inscrutable.
But if you took the Winston Churchill aproach and spent some blood,
sweat, toil and tears you would probably become a 1/2 decent
assembler langua
Using Mac OS X.4.11, Xcode 2.5 on PPC
In my project I have sub-classed both NSMatrix (e.g FooMatrix) and
NSButtonCell (e.g. FooButtonCell).
The designated initialiser for FooMatrix is
-(id)initWithFrame:(NSRect)frameRect
mode:(int)aMode
cellClass:(Class)classId
numberO
21 matches
Mail list logo