On 27/04/12 12:56, Andrew Higginson wrote:
Hi,
I want to draw something like the file attached.
It will be a box that apears when a user goes full screen (basically to
say, you are in full screen mode, press KEY to go back)
I need it to be drawn 'above' any pages, so that when the user scrolls,
it stays in the same
place (so it is not similar to the new header and footer blue boxes, in
that they are per
page, this needs to be one box for the whole document)
So what I need to know is in which control's Paint() method do I need to
put the painting code for this?
i don't know, but the document content is painted from
SwRootFrm::Paint(), which therefore is a place where you should _not_
implement this (because everything in there depends on which part of the
document is currently displayed), but if you set a breakpoint there and
go a bit up the stack then perhaps you'll see a more suitable location...
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.