bszenith

How do i use this interface (IFPMarkUpServices) in the context of
VC++ in MFC Dialog based application for Microsoft FrontPage 2002 Eg. How do u remove an active element
from a page window
 
PS: Is there also any documentation for this interface



Re: Internet Explorer Extension Development Microsoft FrontPage 2002 (IFPMarkUpServices)

Sheng Jiang

I believe the interface is likely the same with IMarkUpServices.




Re: Internet Explorer Extension Development Microsoft FrontPage 2002 (IFPMarkUpServices)

bszenith

So is it possible you can give some example as to how to use the particular interface to say, delete an active element in the context of VC++ using MFC




Re: Internet Explorer Extension Development Microsoft FrontPage 2002 (IFPMarkUpServices)

Brian Kramer

Please consult documentation on this. This forum is meant for C++ language and compilation issues only.

Thanks.





Re: Internet Explorer Extension Development Microsoft FrontPage 2002 (IFPMarkUpServices)

Sheng Jiang

I suggest you move the topic to the Internet Explorer Extension Development forum




Re: Internet Explorer Extension Development Microsoft FrontPage 2002 (IFPMarkUpServices)

Brian Kramer

Done.



Re: Internet Explorer Extension Development Microsoft FrontPage 2002 (IFPMarkUpServices)

Sheng Jiang

read the The Annotator Sample for the usage of IMarkupServices.

This code sample may be useful as well.






Re: Internet Explorer Extension Development Microsoft FrontPage 2002 (IFPMarkUpServices)

bszenith

I've some problems with the CreateMarkupPointer method. It returns the address to a pointer to the IMarkupPointer interface. The following is part of my code:

DispFPHTMLDocument doc(app.GetActiveDocument());
IHTMLElement element(doc.GetActiveElement());
IFPMarkupServices ms;
IFPMarkupPointer mpS(ms.CreateMarkupPointer());
IFPMarkupPointer mpE(ms.CreateMarkupPointer());
mpS.MoveAdjacentToElement(element,0);
mpE.MoveAdjacentToElement(element,3);
ms.Remove(mpS,mpE);

The 2 qn mark side are where i attempt to create the 2 markuppointers necessary for the Remove method. On the other hand, when I run there is some error that pops up. Does anyone know where the problem is