trichview.com

trichview.support




Style No


Return to index


Author

Message

Jeff

Posted: 08/30/2002 13:34:05


Hi,


I found that to highlight the image from the rve the direction is importance.

My case is

text1 <img1> text2 <img2>


if i try to highlight the img1 from right to left it return the style type

text. On the other hand from left to right it will return the image style

to me. It seem's that it detect the caret stop location???


i use the following code to detect the style.


TCustomRVItemInfo *RVItem;

RVItem = rve->GetCurrentItem();

  if(RVItem == 0)

    return;

  style = RVItem->StyleNo;


Thank you for your support.


Cheers.





Powered by ABC Amber Outlook Express Converter