I have two questions, and despite looking like they are independent, but are quite related.

Using com::sun::star::awt, services I can create a user interface through OO 2.0 SDK.
Question is: that some how I am able to store all the "strings" in some .xcu file,
when I display this string on the dialogs...the width of the widgets may not be appropriate.

Right now, I have set the widths according to english, but how do I determine the widths in a separate language/font setting?

Related to this, XMessageBox is deprecated, but I find that all the while, ErrorBox is being used inside OO code itself. So as I understand it, since all the code is using it, why is the interface that providers "errorbox" deprecated?

If I show my own error box made with awt, then for all the possible error messages, I have to hard-code widths knowing fully that this would not work in other languages.

Any pointers?
--
Aditya Kumar Pandey
----------------------------------------

Reply via email to