I found something really odd just now. The searchmenu is actually
connected to an IBAction method. The NSLog sits in there and simply
prints out the sender, i.e. the menuItem that triggered it.
If I change the menu item in the UI the NSLog printout shows that it's
another part of memory tha
On 3 Nov 2008, at 07:25, Rakesh Singhal wrote:
This API setups some communication parameters for communication
devie. Here
I am writing library for serial port. There are some more APIs,
which I am
not able to understand liek following:
CreateEvent(0,true,false,0);
SetCommMask(m_hFile,dwEv
Hi,
when trrying to change the tickmark next to a menu of an NSSearchField
it works exactly once, after that it doesn't work any more. I have to
relaunch the app. I see that my code is indeed executed, but it makes
no difference after the first time. Or maybe it's not refreshed somehow.
This API setups some communication parameters for communication devie. Here
I am writing library for serial port. There are some more APIs, which I am
not able to understand liek following:
CreateEvent(0,true,false,0);
SetCommMask(m_hFile,dwEventMask);
There are some more things. I know only about
Porting to the Mac isn't simply a process of "this API on the Mac kind
of does what that API does on Windows."
What exactly is this code trying to do?
On Nov 2, 2008, at 9:23 PM, Rakesh Singhal wrote:
Hi all
I am porting a project from Windows (using Win32 APIs) to Mac OS.
There is
follow
According to another list, it's likely a bug.
On Nov 2, 2008, at 8:52 PM, Dave DeLong wrote:
Does anyone have any ideas on how to do this?
Dave
On 24 Oct, 2008, at 9:18 PM, Dave DeLong wrote:
Hi everyone,
At the top of every NSMenu I can find, with one exception (which I
will get to), th
On Mon, Nov 3, 2008 at 12:15 AM, Markus Spoettl
<[EMAIL PROTECTED]> wrote:
> On Nov 2, 2008, at 8:04 PM, Chris Idou wrote:
>>
>> [[NSBundle bundleForClass:[self class]]
>> localizedStringForKey:@"kMDItemFSLabel" value:@"nothing here"
>> table:@"MetaData"]
>>
>> MetaData.strings ends up in my Englis
Hi all
I am porting a project from Windows (using Win32 APIs) to Mac OS. There is
following function, for which I am no finding any equivalent fucntion in
Mac. Actually I could not find these parameters in termios structure.
BOOL WINAPI SetupComm ( HANLDE hFile, DWORD devInQueue, DWORD devOutQueu
Has anyone been able to add menu items to the first popup while it is running?
Or are you pretty much stuck with whatever the initial values were? I've tried
various things and haven't been able to do it.
___
Cocoa-dev mailing list (Cocoa-
Does anyone have any ideas on how to do this?
Dave
On 24 Oct, 2008, at 9:18 PM, Dave DeLong wrote:
Hi everyone,
At the top of every NSMenu I can find, with one exception (which I
will get to), there are four blank pixels. These pixels separate
the top of the first menuitem from the top o
> Do you really mean this? As far as I've heard,
> Apple's official
> stance has never been to classify Carbon as a legacy
> technology
> (though they've certainly taken all the steps). Can we
> finally settle
> this issue and start calling things as they are?
>
> Of course there is the whole i
On Nov 2, 2008, at 8:04 PM, Chris Idou wrote:
[[NSBundle bundleForClass:[self class]]
localizedStringForKey:@"kMDItemFSLabel" value:@"nothing here"
table:@"MetaData"]
MetaData.strings ends up in my English.lproj and get info says it is
an English localization. But the code returns "nothing
I don't seem to be having much luck getting localization to work. I've got a
utf16 strings file in my project called MetaData.strings that contains:
"kMDItemFSLabel" = "color label";
Then in my code...
[[NSBundle bundleForClass:[self class]] localizedStringForKey:@"kMDItemFSLabel"
value:@"not
I have been looking at various open source projects/sites but still
can't find a way to check two signatures to see if they are the same in
Cocoa. For example: On setup, "User A" writes his name on his tablet, then
"User B" tries to sign in using an imitation signature, but it will return
an w
On Nov 2, 2008, at 3:25 PM, Ronald Ramdhan wrote:
I am working on a project where I would like to control external
programs from within my Cocoa Application. For example, the ability
to control a program like PowerPoint from within my code.
Is there anyway to do this programmatically wit
And obvious it was. Thanks!
Ben
On 2008.11.03., at 3:31, Marc Krochmal <[EMAIL PROTECTED]> wrote:
Hi Benjámin,
On Oct 31, 2008, at 10:37 AM, Benjámin Salánki wrote:
Hi all,
I have an NSNetService enabled app that acts as both the client and
the server on the same machine.
My problem is
You call [persiaTable reloadData] inside the tableview's delegate
method.That will cause an infinite loop I guess.
You shouldn't call reloaddata unless you updated the values for the
tableview.
On Nov 2, 2008, at 7:53 PM, Priscila J.V. wrote:
Hello,
I'm new in objective C programming. I tr
Hey Everyone,
I am working on a project where I would like to control external
programs from within my Cocoa Application. For example, the ability to
control a program like PowerPoint from within my code.
Is there anyway to do this programmatically without the use of Apple
Script? I have
Hello,
I'm new in objective C programming. I try to do a program where a user can
choose the number of partitions of a range in the code appears like "valor =
30" (number of rows in table), this range can be change from 1 to 100 only by
the user, the main goal is using a NSTableView to show sq
Hi Benjámin,
On Oct 31, 2008, at 10:37 AM, Benjámin Salánki wrote:
Hi all,
I have an NSNetService enabled app that acts as both the client and
the server on the same machine.
My problem is that once I register the service I create and I want
to set up the connection the aNetService returne
Hallo Jeshua
The following is all written from memory, not looking at actual code.
To receive notifications, you have to set and impplement a delegate and
use it in your CALayer. Like this:
- (void) setupLayer
{
CABasicAnimation *anim = [CABasicAnimation animation];
CALayer *myL
On Nov 2, 2008, at 1:57 PM, Patrick Mau wrote:
On 02.11.2008, at 20:10, Jeshua Lacock wrote:
Hello again,
Hi Jeshua
Hi Patrick,
Thanks for your help - that looks perfect!
I have one question - hopefully not for myself this time. :)
Is there a callback or some way to determine when a
On 02.11.2008, at 20:10, Jeshua Lacock wrote:
Hello again,
Hi Jeshua
I have one question - hopefully not for myself this time. :)
Is there a callback or some way to determine when a
CAKeyframeAnimation has finished playing? Or do I need to set up a
timer and calculate when a animation ha
On Nov 2, 2008, at 11:53 AM, Jeshua Lacock wrote:
On Nov 2, 2008, at 11:38 AM, Jeshua Lacock wrote:
It just occurred to me that I probably need my CAKeyframeAnimation
declaration to be an array with a capacity to support the maximum
number of animations I might have, and then use an availa
On Nov 2, 2008, at 11:38 AM, Jeshua Lacock wrote:
It just occurred to me that I probably need my CAKeyframeAnimation
declaration to be an array with a capacity to support the maximum
number of animations I might have, and then use an available
CAKeyframeAnimation to use for each occurrence
Hello,
It just occurred to me that I probably need my CAKeyframeAnimation
declaration to be an array with a capacity to support the maximum
number of animations I might have, and then use an available
CAKeyframeAnimation to use for each occurrence of the animation. Going
to test my theor
Hi list,
In NSWindow there's the following two functions:
- standardWindowButton:
+ standardWindowButton:forStyleMask:
The first one returns a reference to the actual window button in
question. The second one, the class method, returns a new instance of
a window button.
This button (returned fr
Greetings,
My flipbook animation is now working - thanks everyone!
I was under the impression that each CoreAnimation operated as an
independent thread. However, I created a function that sets the
"forKey" property to a unique indentifier each time it is called, and
each time it is called
On 31 okt 2008, at 02.30, Peter N Lewis wrote:
AI am a newbie to the cocoa world (PC -> Mac switcher). I have a
fair amount of experience coding in C and C++ and I am just getting
into Obj C now. Right now I am trying to learn the language idioms
and patterns in the Obj C world, specific
This is an very interesting idea. The only problem I can see is for
undoing. I could begin a transaction before showing the view and
commit or rollback accordingly. I need to explore the potentials
problems of keeping a transaction open for a theoretically long time
though. This to cover th
I tried at first to use the standard NSNumberFormatter in IB but
couldn't find the right pattern.
Your solution works great and don't require subclassing so thanks a lot.
Andre Masse
On Nov 1, 2008, at 16:09, Bill Bumgarner wrote:
Use the APIs whenever possible.
int main (int argc, const
Hi
I have a table with one column that displays an NSPopUpButtonCell. I
was able to bind the menu items into the cell and can select items in
the menu, but when I change a selection on one row's menu, the menu in
every other row in the table changes to the new selection.
Here's how I'm se
32 matches
Mail list logo