• 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
Re: CustomView Help ...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CustomView Help ...


  • Subject: Re: CustomView Help ...
  • From: Mic Pringle <email@hidden>
  • Date: 14 Mar 2008 11:07:55 +0000
  • Authenticated-sender:

Hi,

I just dragged the label icon from the palette in IB onto my custom view ?

Thanks

-Mic

On Mar 14 2008, Kyle Sluder wrote:

On 14 Mar 2008 10:57:42 +0000, <email@hidden> wrote:
Hi,

I have implemented a custom view with drag and drop capability. When the
viwe is idle, the background is a subtle gray gradient, and when files are
being dragged over it turns to a nice blue gradient. I do this in drawRect
using a BOOL variable which gets updated in each of the drag operation
methods.

Can't you draw your string in either gray or white depending on this flag? I trust you're using the NSString drawing AppKit extensions, not an NSTextField subview.

--Kyle Sluder
_______________________________________________

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


  • Follow-Ups:
    • Re: CustomView Help ...
      • From: "Kyle Sluder" <email@hidden>
References: 
 >CustomView Help ... (From: email@hidden)
 >Re: CustomView Help ... (From: "Kyle Sluder" <email@hidden>)

  • Prev by Date: Re: CustomView Help ...
  • Next by Date: Re: What's the trick to eliminating 'halos' on buttons?
  • Previous by thread: Re: CustomView Help ...
  • Next by thread: Re: CustomView Help ...
  • Index(es):
    • Date
    • Thread