• 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
NSView & border
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSView & border


  • Subject: NSView & border
  • From: Don Willems <email@hidden>
  • Date: Thu, 11 Nov 2004 11:02:54 +0100

Hi,

This has been asked before, but I couldn't find an answer.
NSView defines constants for borders: NSBezelBorder, NSGrooveBorder, NSLineBorder, and NSNoBorder. But there does not seem to be any method to set the border.
I' have a custom NSTextView (with subviews) in urgent need of a border, can someone help me?
I've tried drawing the border myself in the drawRect method, but it doesn't seem to get drawn, the subviews are probably drawn on top of it.


Thanks,
Don

_______________________________________________
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: NSView & border
      • From: Ricky Sharp <email@hidden>
  • Prev by Date: Re: Registration Code
  • Next by Date: Re: OT: Bug in IB
  • Previous by thread: Re: Confirming NSTextField when a button is pressed
  • Next by thread: Re: NSView & border
  • Index(es):
    • Date
    • Thread