Re: Preference panes and Apple Help

2008-09-04 Thread Matt Neuburg
On Wed, 03 Sep 2008 09:27:05 +1000, Andrew White <[EMAIL PROTECTED]> said: >PS: I couldn't see any call to deallocate a FSRef. Does it get correctly >cleaned up as part of normal stack cleanup? > Andrew: Yes. :) Look in Files.h. Despite the "Ref" ending on the name (legacy), an FSRef is not a po

Re: Preference panes and Apple Help

2008-09-02 Thread Andrew White
Thanks Gregory, that did the trick. I actually didn't need your "step 2" (putting the anchors in the Info.plist); using a helpindex worked fine on 10.4. But I did need to explicitly register the help book. Incidentally, I was able to shortcut the Apple example code slightly using NSPreferen

Re: Preference panes and Apple Help

2008-09-02 Thread Gregory Weston
Andrew White wrote: I can't seem to get my preference pane to register with Apple Help. ... Any guidance? Ran into difficulties with this a few years ago, partly because it was under-documented and partly because some of the documentation that was there had a critical typo. When I finally

Preference panes and Apple Help

2008-09-02 Thread Andrew White
I can't seem to get my preference pane to register with Apple Help. The bundle contains English.lproj/MyPrefHelp This contains: My Pref Help.helpindex (also tried with MyPrefHelp.helpindex) MyPrefHelp.html pages/ ... image/ ... style/ ... InfoPlist.strings (English) contains: CFBun