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

validModesForFontPanel woes


  • Subject: validModesForFontPanel woes
  • From: David Reitter <email@hidden>
  • Date: Fri, 26 Jun 2009 00:04:04 -0400

Hello,

I'm trying to configure a font panel using validModesForFontPanel:. Unfortunately I can't get this to work right. I can influence the visibility of some of the elements, except that it doesn't do what it is told to do...

For instance, the following gives me options for document color and underline:

- (unsigned int) validModesForFontPanel:(NSFontPanel *)fontPanel
{
  return (NSFontPanelFaceModeMask |
  	  NSFontPanelSizeModeMask |
  	  NSFontPanelCollectionModeMask  |
  	  NSFontPanelTextColorEffectModeMask  |
  	  NSFontPanelDocumentColorEffectModeMask);
}

What's wrong? I would like to have document and text colors, face, size and collection, and nothing else.

In case somebody else got it to work - thanks for shedding light on it. _______________________________________________

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


  • Prev by Date: Re: GC pros and cons
  • Next by Date: Re: Ideas required on testing an application install
  • Previous by thread: Open Position at IRCAM: MacOSX GUI Developper (C++/Objective-C)
  • Next by thread: GraphicsImportComponent and 64bit
  • Index(es):
    • Date
    • Thread