Automatically Call a Function

2008-06-15 Thread Philip Lee Bridson
Hi there - sorry this is actually two questions in one. Firstly I need a function to automatically run from a class used in MainMenu.nib when the main.m calls NSApplicationMain(); Also, I cannot figure out why when I initialize a window from a nib or from a file before the call to

Re: Automatically Call a Function

2008-06-15 Thread Philip Lee Bridson
method works otherwise the text would not be printed to stdout but my second window will not display like it is supposed to. I am at a loss. Can anyone help? Many thanks. Phil. On 15 Jun 2008, at 19:31, Marcel Weiher wrote: On Jun 15, 2008, at 10:09 , Philip Lee Bridson wrote: Firstly I

Re: Automatically Call a Function

2008-06-15 Thread Philip Lee Bridson
Actually no I didn't. Now it works fine, in my frustration that was something I hadn't even considered that I get wrong. Thanks for the reply. Phil. On 15 Jun 2008, at 22:16, Ken Thomases wrote: On Jun 15, 2008, at 3:59 PM, Philip Lee Bridson wrote: -(void)applicationDidFinishLaunching

Transparent Window

2008-06-13 Thread Philip Lee Bridson
Hi Guys, I have a window that displays an image, I want the window to be transparent so that only the image is displayed and not have the white background that is present due to the window. I have tried sub- classing NSWindow and making the window transparent but then nothing is displayed