James Black wrote:

> I was incorrect, it is grayed out, which explains why it isn't
> highlighted, so I am still trying to figure out how to get it enabled.

You should check if your ProtocolHandler is instantiated when the menu
is opened. If it isn't, the problem lies in the handler registration,
either in the ProtocolHandler.xcu file or in the UNO component
registration of your service.

If it is instantiated, but its "queryDispatch" method is not called,
perhaps your "queryInterface" method implementation is wrong. If
"queryDispatch" is called but the menu is disabled I assume that either
you don't return a Dispatch object in this call or the Dispatch object
itself disables the command explicitly in a StatusEvent.

You should be able to find out all this using a debugger.

Best regards,
Mathias

-- 
Mathias Bauer - OpenOffice.org Application Framework Project Lead
Please reply to the list only, [EMAIL PROTECTED] is a spam sink.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to