Paolo Lacatena wrote:
Hi,
I want add a menu to a window. In Developer's Guide 2.0 I read that XTopWindow interface has a method setMenuBar() but this is not usable at this time because XMenuBar interface is deprecated. However, on IDL reference XMenuBar is not signed as deprecated.
Can I use it?
Yes, but support can be discontinued in one of the next major versions. Currently the application framework of OOo 2.0 uses these interfaces internally, so you can be sure that for OOo 2.0.x it's safe.

What is the alternative way to add a menu to a XTopWindow?
There is no alternative way, if you don't want to use VCL directly.

Regards,
Carsten

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

Reply via email to