Re: Help Viewer not scrolling to anchors
Re: Help Viewer not scrolling to anchors
- Subject: Re: Help Viewer not scrolling to anchors
- From: "Gerriet M. Denkmann" <email@hidden>
- Date: Wed, 10 Aug 2005 19:00:07 +0200
On 10.08.2005, at 17:03, email@hidden wrote:
I expect either of these lines:
AHLookupAnchor(myBookName, CFSTR("myAnchor"));
or
[[NSHelpManager sharedHelpManager]
openHelpAnchor:@"myAnchor"
inBook:(NSString*)myBookName] ;
to open to the help page containing this anchor:
<a name="myAnchor"></a>
in Apple Help Viewer, and also to scroll its view down to that
myAnchor.
Result: In either case, the proper page is opened, but it does not
scroll
down to myAnchor as expected. I'm using Mac OS 10.4.2. I have run
Apple's
Help Indexer and put its latest index in the app's package.
Is my expectation incorrect?
Yes, you are overly optimistic. It is incorrect to expect anything from
Help Viewer.
But on Tiger there is a simple workaround (with the help of the user):
1. send openHelpAnchor - Help Book opens, does not scroll
2. the user clicks on some links in the help book
3. send openHelpAnchor again - now the Help Book scrolls to the anchor.
Very simple, very intuitive.
Note: A similar problem was recently reported in Panther, but not
resolved,
by Gerriet M. Denkmann:
http://www.cocoabuilder.com/archive/message/2005/7/2/140676
Jerry Krinock
Kind regards,
Gerriet M. Denkmann
_______________________________________________
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