Creating Cocoa Windows from Command Line Apps
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