Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Displaying a window for a carbon shared library invoked from a bsd app.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Displaying a window for a carbon shared library invoked from a bsd app.



I have a carbon shared library that has a routine to display a dialog. I load the dylib using dlopen from a BSD command line application. I retrieve the address of the method with the dylib and invoke it. The dialog is updated with some information calculated at runtime.

The dialog window appears and shows the information correctly but it is behind every other window. It seems impossible to activate it in any way (via the desktop or programmatically).

Strangely the minimize and maximize buttons work correctly - but they are the only thing that does.

It seems like a fundamental step in the creation of the dialog has been missed out and although it's displayed it's not possible to interact with it any part of the window other than the system buttons on the title bar.

Does anyone have any idea what I've done wrong?

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




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.