RE: removeFromSuperview problem

2012-04-26 Thread Leanne Attard
e to a Not Responding state. --- On Thu, 4/26/12, Jim Adams wrote: > From: Jim Adams > Subject: RE: removeFromSuperview problem > To: "Leanne Attard" , "cocoa-dev@lists.apple.com" > > Date: Thursday, April 26, 2012, 1:24 PM > I wonder if you should move that > re

removeFromSuperview problem

2012-04-25 Thread Leanne Attard
Problem explanation: I am doing a Java application which calls a JNI Library to draw using OpenGL on the window created by JAVA, using the JAWT NSView handle given as in example: http://developer.apple.com/library/mac/#samplecode/JAWTExample/Introduction/Intro.html, and then adding a customi

Problem with NSScrollView and scroll bars

2012-03-30 Thread Leanne Attard
enclosingScrollView]; [adsl_scrollview setDocumentView:avo_winparent]; [[avo_winparent window] setContentView:adsl_scrollview]; However this made no difference thus I concluded that the document view and content view are already set when the NScrollView is created. Thanks for your help Leanne

Re: Help on Cocoa Class references

2011-01-20 Thread Leanne Attard
...@cocoadoc.com Cc: leanneatt...@yahoo.com, cocoa-dev@lists.apple.com Date: Thursday, January 20, 2011, 8:59 PM Message: 3 Date: Wed, 19 Jan 2011 22:18:04 -0500 From: Scott Anguish Subject: Re: Help on Cocoa Class references To: Leanne Attard Cc: cocoa-dev@lists.apple.com Message-ID: <8c659320-34f8-4

Re: Help on Cocoa Class references

2011-01-18 Thread Leanne Attard
i did that just by chance the problem is that clicking on the title bar is being detected but everyone else is not detected --- On Tue, 1/18/11, mlist0...@gmail.com wrote: > From: mlist0...@gmail.com > Subject: Re: Help on Cocoa Class references > To: "Leanne Attard" &g

Re: Help on Cocoa Class references

2011-01-18 Thread Leanne Attard
acceptsFirstResponder method is entered but then nothing happens on subsequent mouse clicks or keyboard events. --- On Tue, 1/18/11, Uli Kusterer wrote: > From: Uli Kusterer > Subject: Re: Help on Cocoa Class references > To: "Leanne Attard" > Cc: cocoa-dev@lists.apple.com >

Help on Cocoa Class references

2011-01-18 Thread Leanne Attard
I am a newbie in cocoa so please i apologize for posing a basic question!  I am developing a java application displaying a window, and then i am taking its native part to draw onto it using openGL, the native part gives me a NSView pointer.  I am able to draw onto it however not able to get mous

NSView/NSResponder returns YES

2011-01-13 Thread Leanne Attard
Hi all, I am having a problem with NSView/NSResponder class. I need to override the NSView method acceptsFirstResponder method as from the documentation i have read the NSResponder method returns NO by default. However with the code i am using below i am getting a YES already without overridi