My custom item dismisses my Navigation Services dialog

Q: I have a custom area in my Navigation Services dialog and each time I click some of my items, the dialog disappears. What's happening?

A: You are probably running in Jaguar (Mac OS X 10.2.x) and those items have a control ID of 1.

This is a bug which was fixed in Panther (Mac OS X 10.3): previously, when a click was occurring in the custom area on an item which control ID was 1, no matter what the signature was, the Navigation Services dialog was incorrectly interpreting the click as a click on the default button and thus was dismissing the dialog. The Navigation Services dialog in Panther correctly checks the signature of the control in addition to its ID and thus does not confuse your items with the default button.

The best workaround for that problem is to use control IDs on your items starting higher at, for example, 100. This will work on all versions of Mac OS.

Document Revision History

DateNotes
2004-11-22Gives a workaround for dismissive clicks on items in the custom area of Navigation Services dialogs.

Posted: 2004-11-22


Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.