On Sep 19, 2008, at 11:55 PM, brodhage wrote:
No - there is still one minor problem: if I hide the carbon
application and activate it again then my modal window is updated.
But not the current modal dialog of the carbon application (which
calls my modal dialog via user action).
Yes - I k
Hi,
thank you very much for your answer, Rob.
> I am successfully using modal Cocoa windows in a plugin inside a
Carbon application.
This statement and your code gave me the final hint that it must work
- and that the problem must be found somewhere else.
Using your code nothing changed
.
So what I am searching for is to display the modal dialog without
NSApplication.
I am successfully using modal Cocoa windows in a plugin inside a
Carbon application.
Others have already spoken about the need for NSApplicationLoad() and
setting up an autorelease pool, you definitely have
ssible to close the modal dialog, hit any button or something else.
For me it seems that the NSApplication:: runModalForWindow blocks all.
So what I am searching for is to display the modal dialog without
NSApplication.
Any ideas?
Cheers
Ness
___
Le 18 sept. 08 à 16:15, brodhage a écrit :
Hi,
thank you very much for your quick answer, Jean-Daniel.
> If you want a complexe dialog...
Yes. So I guess CFUserNotification does not help.
> I don't understand why using NSApp for this kind of works will
have an impact on the remaining of y
Hi,
thank you very much for your quick answer, Jean-Daniel.
> If you want a complexe dialog...
Yes. So I guess CFUserNotification does not help.
> I don't understand why using NSApp for this kind of works will
have an impact on the remaining of you application though.
Just because a lot of
Le 18 sept. 08 à 15:12, brodhage a écrit :
Hi,
I am developing application software for Mac and Windows.
Most of the code is developed using ObjectC - this way most of the
code can be used for both OS. Only the OS depending stuff - like
showing dialogs, menus... - is separated.
The probl
Hi,
I am developing application software for Mac and Windows.
Most of the code is developed using ObjectC - this way most of the
code can be used for both OS. Only the OS depending stuff - like
showing dialogs, menus... - is separated.
The problem: how can I show and handle a modal dialog f