Who can tell me more about SfxToolBoxControls and registerControl()?
Winfried Donkers
W.Donkers at dci-electronics.nl
Wed Apr 4 02:48:30 PDT 2012
> Michael Stahl wrote (4 april 2012 11:11)
> > Thank you for your help. I am trying that, but haven't found the
> > module pointer yet (in swmodule SwModule*) that needs to passed to
> > RegisterControl(). Any ideas where to look for that?
>
> hi Winfried,
>
> try this: SW_MOD()
>
Hi Michael,
No luck, SW_MOD return the writer module:
#define SW_MOD() ( *(SwModule**) GetAppData(SHL_WRITER))
But thanks for your effort anyway!
Winfried
More information about the LibreOffice
mailing list