Re: Problems with runModalForWindow, looking for alternatives
Re: Problems with runModalForWindow, looking for alternatives
- Subject: Re: Problems with runModalForWindow, looking for alternatives
- From: Vojtěch Meluzín <email@hidden>
- Date: Tue, 01 Nov 2011 22:07:51 +0100
Ok, here's an interesting development:
1) In a simple "console" application the modal window is initially hidden.
2) In a plugin the window is displayed above and even nested modal windows
are displayed correctly.
So could it be just by the fact that the testing application was "console"
app?
Vojtech
Dne 1. listopadu 2011 21:06 Vojtěch Meluzín
<email@hidden>napsal(a):
>
> I don't really know C++, so there is some generalization here. Since
>> you are returning a retained NSString, presumably inside your function
>> are you are doing something like:
>>
>> return [[NSString alloc] initWithCString:stringFromCPlusPlusMethod
>> encoding:someEncoding];
>>
>> To return an autoreleased string, instead use:
>>
>> return [NSString stringWithCString:stringFromCPlusPlusMethod
>> encoding:someEncoding];
>>
>>
> Thanks!
>
> Now to the original topic - the window is still not displayed over the
> others. I tried NSTitledWindowMask instead of the borderless, but it's
> still the same. Any ideas?
>
> Vojtech
>
>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden