New Forum | Previous | Next | (P-PDF) Developers
Topic: problem with the Embedded view
Conf: (P-PDF) Developers, Msg: 86518
Date: 4/22/2003 04:52 PM
I need help with the following problem:
I am developing a plugin that finds some words, and highlight them.
so I use for this the example wordfinder (from the sdk examples), this example uses:
and for this I need to get the PDDoc, in the example they do it this way:
// Acquire active docuement.
avDoc = AVAppGetActiveDoc();
pdDoc = AVDocGetPDDoc (avDoc);
but my plugin, works most of the time as embedded view, and that means that AVAppGetActiveDoc() does not work!!
do you know a way to solve this problem!!
I think, that I need to get PDDoc in another way!