• 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
NSWindow widgets
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSWindow widgets


  • Subject: NSWindow widgets
  • From: Michael Link <email@hidden>
  • Date: Mon, 15 May 2006 10:24:34 -0500

Does anyone know the correct way to get the window widgets to work in an NSBorderlessWindowMask window, using +[NSWindow standardWindowButton:forStyleMask:] to make the "traffic light" window widgets?

Right now, I am creating the window widgets, and adding them as subviews to my custom background view. When the application first opens the main window has the window widgets and they do work but their initial appearance is disabled.

I've noticed that the widgets call -[NSView _mouseInGroup:] on the custom view to assist in rollover (which if you return YES the widgets will display their rollover state). Are there other hidden functions that affect the window widgets?

--
Michael

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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

  • Prev by Date: Re: Accessing SQL Databases
  • Next by Date: Zoom and QTMovieView
  • Previous by thread: Core Data Predicate Performance Problem
  • Next by thread: Zoom and QTMovieView
  • Index(es):
    • Date
    • Thread