• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
2) Trasparent Window with Opaque Text
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

2) Trasparent Window with Opaque Text


  • Subject: 2) Trasparent Window with Opaque Text
  • From: Lorenzo <email@hidden>
  • Date: Thu, 14 Oct 2004 14:23:39 +0200

Hi list,
after trying several ways, I have set my window transparent, the NSTextView
transparent, and its NSScrollView transparent, so now the final effect is an
opaque text-string over other objects on the screen. Almost fine. Two new
problems occur now.

1) When I click on a transparent area of the Window (where there is no
text), the window is deselected and the object just under the window becames
selected. Wrong.

2) When I write the Text or resize the window, I get noise around the text.

How can I fix these 2 problems? Thank you.

Currently I do this:
--------------------
[aWindow setBackgroundColor:[NSColor clearColor]];
[aWindow setOpaque:NO];
[[aTextView superview] setDrawsBackground:NO]; //the NSScrollView
[aTextView setDrawsBackground:NO];

Best Regards
--
Lorenzo
email: email@hidden

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: 2) Trasparent Window with Opaque Text
      • From: stephane sudre <email@hidden>
  • Prev by Date: SafariSource (Safari syntax coloring)
  • Next by Date: Re: Trasparent Window with Opaque Text
  • Previous by thread: Re: SafariSource (Safari syntax coloring)
  • Next by thread: Re: 2) Trasparent Window with Opaque Text
  • Index(es):
    • Date
    • Thread