• 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: Finder-like color label menu item in Cocoa?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Finder-like color label menu item in Cocoa?


  • Subject: Re: Finder-like color label menu item in Cocoa?
  • From: James Bucanek <email@hidden>
  • Date: Mon, 24 Jul 2006 08:36:18 -0700

Bill Monk wrote on Monday, July 24, 2006:

>
>On Jul 23, 2006, at 9:17 PM,  James Bucanek <email@hidden>
>wrote:
>
>>  I eventually got it working once I had tried three different
>> version of HIFramework, fixed the file types for the .cp files,
>> corrected the path references in the project, added the files that
>> were missing(!), linked to the correct libstdc++ library, and
>> updated the JAM-based target to an modern one.
>
>
>> After those "minor" tweaks, it compiled and ran without a problem. :)
>
>Another minor tweak: HILabelView::ControlHit() uses an uninitialized
>variable.

I caught that yesterday too. For the benifit of those playing at home, the corrected code is

OSStatus
HILabelView::ControlHit( HIViewPartCode inPart, UInt32 inModifiers )
{
#pragma unused(inModifiers)
    OptionBits oldSelected = fSelected;

    ...

--
James Bucanek
 _______________________________________________
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

References: 
 >Re: Finder-like color label menu item in Cocoa? (From: Bill Monk <email@hidden>)

  • Prev by Date: Re: Best way to create string from an array of dictionaries?
  • Next by Date: Re: Re: writing huge C-array to a file
  • Previous by thread: Re: Finder-like color label menu item in Cocoa?
  • Next by thread: Re: Finder-like color label menu item in Cocoa?
  • Index(es):
    • Date
    • Thread