trichview.com

trichview.support




Re: Recognize images with the mouse


Return to index


Author

Message

Pieter E.

Posted: 09/10/2004 11:08:53


I've created the following code with the helpfile:


TCustomRVFormattedData *LRVData;

int LItemNo, LOffs;

Types::TPoint pt;


pt = rve->ClientToDocument(pt);

rve->GetItemAt(pt.x, pt.y, LRVData, LItemNo, LOffs, True);

if(ItemNo<0) return;


Question:


How do I know if the selected item is image, table, or other type...


Thanks.


Pieter E.




"Sergey Tkachenko" <[email protected]> wrote:

>See the example in the help file, topic about OnRVMouseDown.

>It shows how to get the clicked item.

>

>>

>> Is there a way to recognize images when clicking the mouse in RichViewEdit

>> v1.9?

>>

>> Thanks.

>>

>> Pieter E.

>>

>

>





Powered by ABC Amber Outlook Express Converter