• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Creating Cocoa Windows from Command Line Apps
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Creating Cocoa Windows from Command Line Apps


  • Subject: Creating Cocoa Windows from Command Line Apps
  • From: Lachlan Blackhall <email@hidden>
  • Date: Thu, 20 Jan 2005 15:50:06 +0100

Gday,

I have been using the vtk (www.vtk.org) libraries and when i write a command line program that calls these libraries i get the following problem.

I start the program from the console with ./VTKtest and the program creates a cocoa window with the visualisation in it. All good.

If i type a keyboard character that i want to be captured by the cocoa window it gets sent to whichever application is behind the cocoa window. I cant select the cocoa window if i use expose. I have made sure that the window has focus and so im pretty certain the error lies in the way i am starting the program. Is there a way to transfer control to the window programatically if i create it from a command line program or do i have to do something else, or does it sound like an error in the way that the vtk libraries are creating the cocoa window.

Any help would be appreciated.

Thanks

Lachlan

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Creating Cocoa Windows from Command Line Apps
      • From: Finlay Dobbie <email@hidden>
  • Prev by Date: Re: Why do "loose" nibs take precedence over nibs in .lproj?
  • Next by Date: Desktop Icon position
  • Previous by thread: MouseOver on an menu Item
  • Next by thread: Re: Creating Cocoa Windows from Command Line Apps
  • Index(es):
    • Date
    • Thread