trichview.support
Re: Style No |
Author |
Message |
Sergey Tkachenko |
Posted: 08/30/2002 14:48:07 Yes, current item is an item to the left of the caret. It will not be changed until I'll implement mouse resizing for images (very probably, there will be special selection procedure for them) > > 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