trichview.com

trichview.support.examples




Re: Example: dialog on double click


Return to index


Author

Message

Slavi Marinov

Posted: 01/20/2004 14:13:52


Yes, it worked. However I want to ask something - I want to use that routine

to set properties of a picture( i.e. when clicking on a picture there is a

dialog that modifies it and for example repaces a picture that is just a

link to a WWW picture with a downloaded copy of that image). If the picture

is in the RVE and not in a table, I use the following code (depending on the

purpose):



RVE.InsertPicture(MWBSM_WWWPrefix+S,gr.Graphic,rvvaBaseLine);


RVE.SetCurrentItemExtraIntProperty(rvepNoHTMLImageSize,1,false);


or



RVE.RVData.SetPictureInfo(itemno,MWBSM_WWWPrefix+S,gr.Graphic,avalign,atag);


RVE.SetItemExtraIntProperty(itemno,rvepNoHTMLImageSize,1);


And it all works great. But what happens when the picture is in a container

( table, for example ) what can I use instead of RVE.InsertPicture() ( I

have the RVData that contains the image, since I got it in onMouseDown). I

checked AddPictureEx but I just want to add it in the cursor position(as

InsertPicture does). So, what should I do?


--Slavi





"Sergey Tkachenko" <svt@trichview.com> wrote in message

news:400c22f6$1@support.torry.net...

> Must work even in this case

>

> > And what if  the picture is in a table?

>

>

>





Powered by ABC Amber Outlook Express Converter