Hi,
Richard, I also reply to your msg here to avoid too much redundancy.
Thanks for your efforts.
My project is based on what I believe is an official sample from Apple,
which Richard Charles posted as an attachment to his msg from 12/12/2017.
The sole purpose of my project is to learn how bindi
On 19/12/2017 11:24, Eric Matecki wrote:
Hello all,
No I didn't abandon all hope, I was just busy :)
Thanks to all the replies, I got a lot further, but still didn't reach my
destination...
Now I have a nice window, looking almost exactly like the NIB created one.
Most things wor
Hello all,
No I didn't abandon all hope, I was just busy :)
Thanks to all the replies, I got a lot further, but still didn't reach my
destination...
Now I have a nice window, looking almost exactly like the NIB created one.
Most things works, except the most fundamental one.
When I select a r
hese pages
Eric M.
On 12/12/2017 14:02, Richard Charles wrote:
On Dec 12, 2017, at 3:12 AM, Eric Matecki wrote:
It's still weird (to me) to bind an object's binding to one of it's own
properties.
I have an applicaiton that extensively uses programmatic and custom bind
Hi,
On 11/12/2017 20:10, Quincey Morris wrote:
I made my own text field class according to this (in NSTableCellView's doc) :
I think you’re still kinda Doing It Wrong™. The standard (and, I believe,
recommended) way to do this is to create an instance of
NSTableCellView, which has the “object
w
provides the required NSTableView instances on demand.
You also need to bind the NSTableView's content object to the
NSArrayController’s arrangedObjects.
The nib makes all this easier though its still fiddly.
I would get it working in a nib first and then work backwards from there.
Hello,
I'm trying to implement in Objective-C on macOS *programmatically* the "Real World
Example" at the bottom of this page :
https://developer.apple.com/library/content/documentation/Cocoa/Conceptual/CocoaBindings/Concepts/WhatAreBindings.html
I want to do it programmatically instead of usi
Hi,
CGDataProviderRef provider = CGDataProviderCreateDirect( &mps, sizeof(mps),
&callbacks );
NSWindow* window = (NSWindow*)Window();
What does this line do?
It's just a global function which returns the (only) window.
For crossplatform compatibility reasons (our app runs on MacO
Hi,
(I know this is not 100% Cocoa, but it isn't 100% CoreGraphics either...)
I'm drawing to an NSWindow with CoreGraphics, and each time there is a leaked CGContext, CGContextDelegate, CGColorTransform,
NSBitmapGraphicsContext, and NSFocusStack (one of each).
Here is how I do it :
CGDa
On 03/07/12 22:23, Charles Srstka wrote:
> On Jul 3, 2012, at 10:16 AM, Eric Matecki wrote:
>
>> everything is in the subject, what's the equivalent for
CheckEventQueueForUserCancel() in Cocoa ?
>
> There are multiple ways to implement a user cancel operation, depending on
Hi,
everything is in the subject, what's the equivalent for
CheckEventQueueForUserCancel() in Cocoa ?
Thanks.
--
Keep intel OUTSIDE my Mac !
Hiii !!! I can see Intel chips creeping around my G5 !
Eric M.
___
Cocoa-dev mailing list (Cocoa-dev@lists.
Command+ key combinations are served by menus, not by key bindings.
You need to have a menu item with -selectAll: action reacting to Command+A.
it's a part of the standard Edit menu.
Aki
On 2012/05/25, at 1:09, Eric Matecki wrote:
Hi,
thanks Aki, now I got this working.
(Sorry Aki fo
ay, you want to first pass all
mouse events to -[NSTextInputContext handleEvent:].
If the method returned NO (meaning the text system didn't swallow the event),
then, you can perform your custom mouse handling logic for that event.
Aki
On May 21, 2012, at 2:19 AM, Eric Matecki wrote:
Hi,
I
Thanks Quincy, this works !
On 07/05/12 11:56, Eric Matecki wrote:
On 07/05/12 09:39, Quincey Morris wrote:
On May 7, 2012, at 00:30 , Quincey Morris wrote:
On May 7, 2012, at 00:14 , Eric Matecki wrote:
mWindow = [[NSWindow alloc] initWithContentRect: contentSize styleMask:
styleMask
Hi,
I try to write my own text field, for cross-platform dev. reasons I don't have
another choice, unfortunately...
So, in my view, I have this:
@interface MyOpenGLView : NSOpenGLView
...
@end
@implementation MyOpenGLView
- (void) mouseDown: (NSEvent*) iEvent
{
if( mActiveTextButton )
On 07/05/12 09:39, Quincey Morris wrote:
On May 7, 2012, at 00:30 , Quincey Morris wrote:
On May 7, 2012, at 00:14 , Eric Matecki wrote:
mWindow = [[NSWindow alloc] initWithContentRect: contentSize styleMask:
styleMask backing: NSBackingStoreBuffered defer: YES];
I would assume that the
Hello,
nobody has an idea ?
On 03/05/12 10:27, Eric Matecki wrote:
Hi everybody,
I have two screens on my MacPro (10.7.3)
When opening a window with the following code :
// create a reference rect
NSRect contentSize = NSMakeRect( iX, iY, iW, iH );
// allocate window
NSUInteger styleMask
Hi everybody,
I have two screens on my MacPro (10.7.3)
When opening a window with the following code :
// create a reference rect
NSRect contentSize = NSMakeRect( iX, iY, iW, iH );
// allocate window
NSUInteger styleMask =
NSTitledWindowMask |
NSClosableWindow
Hi Fritz,
On 23/02/12 21:26, Fritz Anderson wrote:
On 23 Feb 2012, at 2:12 AM, Eric Matecki wrote:
Oh, something that may be part of the problem (or of the solution...):
I don't call run on my app for multiplatform portability reasons.
Instead I call this in a customized event loop:
Hi Fritz,
On 23/02/12 21:26, Fritz Anderson wrote:
On 23 Feb 2012, at 2:12 AM, Eric Matecki wrote:
Oh, something that may be part of the problem (or of the solution...):
I don't call run on my app for multiplatform portability reasons.
Instead I call this in a customized event loop:
Hi,
I have a problem with ImageCapture + ImageKit.
My IKDeviceBrowserView stays desperately empty.
So I added the following code to the start of my app :
ICDeviceBrowser* db = [[ICDeviceBrowser alloc] init];
[db setDelegate: (id)self];
db.browsedDeviceTypeMask = db.browsedDevice
On 20/12/11 17:48, Laurent Daudelin wrote:
On Dec 20, 2011, at 06:03, Eric Matecki wrote:
Hi,
I'm new to IB.
I'm trying to find by which magic "NSWindow * imageCaptureWindow;",
member of "@interface Controller : NSWindowController",
gets initialized by
Hi,
I'm new to IB.
I'm trying to find by which magic "NSWindow * imageCaptureWindow;",
member of "@interface Controller : NSWindowController",
gets initialized by the following code :
[NSBundle loadNibNamed: @"ImageCapture" owner: self];
This variable isn't initialized anywhere in the code, so
Thanks, I'll try that.
(Sorry Robert for the msg to your address...)
However, I don't like creating temporary files :)
Would it work if I put the sound (with a prepended AIFF header) into a NSData,
creating a movie from that (movieWithData:error:), and inserting that
movie's audio track into the
Hi Nick,
I will try this tomorrow.
Probably won't use twain, if the device isn't supported by ImageKit nor ICA,
just too bad.
Thanks.
Nick Zitzmann wrote:
On Aug 9, 2011, at 9:42 AM, Eric Matecki wrote:
Hi Tom,
Yes I'm talking about scanner devices.
But I don't have
t the Scanner Bowser example code, I'm using that on 10.5 and 10.6
I assume it will work on PPC.
Regards, Rob.
On 9 Aug 2011, at 16:14, Eric Matecki wrote:
Hello,
I need to scan images into my app.
Which technology should I use, it has to work from 10.5.x upwards, PPC and
Intel, 32 and 6
TWAIN for
versions earlier than 10.5
Sent from my iPhone
On Aug 9, 2011, at 10:14 AM, Eric Matecki wrote:
Hello,
I need to scan images into my app.
Which technology should I use, it has to work from 10.5.x upwards, PPC and
Intel, 32 and 64 bits.
I know only of ICA.
Is there something &qu
Hello,
I need to scan images into my app.
Which technology should I use, it has to work from 10.5.x upwards, PPC and
Intel, 32 and 64 bits.
I know only of ICA.
Is there something "better" (ICA dates back to 10.2) ?
Thanks.
--
Keep intel OUTSIDE my Mac !
Hiii !!! I can see Intel chips creeping
Ken Thomases wrote:
On Jul 20, 2011, at 8:01 AM, Eric Matecki wrote:
I have to port a software to take advantage of 64 bits adressing.
The software was originally written for Windows...
So there isn't any real runloop, but there are GetMsg() function calls
spread all around the source cod
Hello,
I have to port a software to take advantage of 64 bits adressing.
The software was originally written for Windows...
So there isn't any real runloop, but there are GetMsg() function calls
spread all around the source code (in about 200 files out of the 1000+ !!).
In Carbon, I used the tri
30 matches
Mail list logo