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: Juanjo Conti <email@hidden>
- Date: Mon, 18 May 2015 10:26:04 -0300
This worked just great!
On Sat, May 16, 2015 at 12:59 PM, Uli Kusterer <email@hidden
> wrote:
> Create a borderless window with your message in it, place it above your
> web view. Since a screen saver doesn’t move, you could probably leave it at
> that and not even use a child window?
>
> > On 16 May 2015, at 17:42, Juanjo Conti <email@hidden> wrote:
> >
> > I didnt actually. How can I use the window method for my goal?
> >
> > On Sat, May 16, 2015 at 12:38 PM, Uli Kusterer <
> email@hidden> wrote:
> > Have you tried it? I haven’t, but NSScreenSaverView inherits a -window
> method, which probably refers to whatever window the OS uses to cover the
> desktop and draws the screen saver in.
> >
> > > On 16 May 2015, at 16:20, Juanjo Conti <email@hidden>
> wrote:
> > >
> > > As I'm writing a screen saver, I can't use another window.
> > >
> > > On Sat, May 16, 2015 at 7:09 AM, Uli Kusterer <
> email@hidden> wrote:
> > > 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
> > >
> > >
> > >
> > >
> > > --
> > > Juanjo Conti <email@hidden>
> > > Software Engineer - Carousel Apps
> > >
> > >
> > > 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.
> >
> > Cheers,
> > -- Uli Kusterer
> > “The Witnesses of TeachText are everywhere...”
> > http://zathras.de
> >
> >
> >
> >
> > --
> > Juanjo Conti <email@hidden>
> > Software Engineer - Carousel Apps
> >
> >
> > 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.
>
> Cheers,
> -- Uli Kusterer
> “The Witnesses of TeachText are everywhere...”
> http://zathras.de
>
>
--
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