Yan Wu wrote:
Hi *,
I want to add a slider(not derived from vcl/slider) controller, like the
ZoomSlider in writer's statusbar of OOo3.0, in the toolbar, But it seems
that there is missing event Paint and some mouse events(like
MouseMove,MouseButtonDown...) for the svt::ToolboxController. Do I need
to implement those events ? Some hints?
Hi Yan Wu,
The svt::ToolboxController is just an implementation class to integrate
into the OpenOffice.org framework. A item window based toolbar
controller, that's something you want to implement, uses a window for
the output. It must be added to the toolbar item (see SetItemWindow(...)
method at the toolbar). The window which you add to the toolbar item
must implement the paint and mouse events.
The status bar uses a different approach. There are no child windows
which are added to the status bar. The status bar consists of logical
areas which are controlled by the controller implementation. Therefore
the controllers are responsible for painting and receiving the mouse events.
Regards,
Carsten
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]