Re: How to draw a NSView on top of a WebView and don't get overriden trying
Re: How to draw a NSView on top of a WebView and don't get overriden trying
- Subject: Re: How to draw a NSView on top of a WebView and don't get overriden trying
- From: Uli Kusterer <email@hidden>
- Date: Sat, 16 May 2015 12:09:01 +0200
Popovers are popovers. You can’t really configure their appearance enough (using public API) that they would be suitable for this use. However, popovers are separate windows, and likely implemented using child windows under the hood, so you could probably try adding your window as a child window to your view’s parent window.
On 12 May 2015, at 23:00, Mike Abdullah <email@hidden> wrote:
> The failsafe way is to place a child window over the WebView. I’m not 100% sure but I think popovers work that way behind the scenes, so maybe one of them would be usable for this.
>
>> On 12 May 2015, at 22:44, Juanjo Conti <email@hidden> wrote:
>>
>> I have a WebView and I want to show some messages over it. For this I'm
>> using a NSView.
>>
>> If I add it as a subView of WebView or if I add it as a subView of the
>> WebView's superView, it's shown for a while but if the WebView gets
>> scrolled or if I load sites gmail.com or twitter (without logging in), the
>> website hides my NSView.
>>
>> Is this a known problem? is there any solution?
>>
>> Thanks in advance,
>> --
>>
>> Juanjo Conti <jjconti <http://goog_2023646312>@carouselapps.com
>> <email@hidden>>
>>
>> Software Engineer - Carousel Apps <https://carouselapps.com>
>>
>> --
>> Carousel Apps Limited, registered in England & Wales with registered number
>> 7689440 and registered office Unit 2 Artbrand Studios, 7 Leathermarket
>> Street, London SE1 3HN. Any communication sent by or on behalf of Carousel
>> App Ltd or any of its subsidiary, holding or affiliated companies or
>> entities (together "Watu") is confidential and may be privileged or
>> otherwise protected. If you receive it in error please inform us and then
>> delete it from your system. You should not copy it or disclose its contents
>> to anyone. Messages sent to and from Watu may be monitored to ensure
>> compliance with our internal policies and to protect our business. Emails
>> are not secure and cannot be guaranteed to be error free. Anyone who
>> communicates with us by email is taken to accept these risks.
>> _______________________________________________
>>
>> 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
>
>
> _______________________________________________
>
> 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
Cheers,
-- Uli Kusterer
“The Witnesses of TeachText are everywhere...”
http://zathras.de
_______________________________________________
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