I did mean that tiny rectangle that you see whenever a cell range in a
formula is highlighted on the spreadsheet when
the focus is in the inputline. But I think it is the same as when a cell
selections are made.
Thanks for the lead Niklas !

On Mon, May 31, 2010 at 11:10 AM, Niklas Nebel <[email protected]> wrote:

> On 05/30/10 10:54, rashi dhing wrote:
>
>> Whenever a range is referenced, there is this anchor handle that allows
>> one
>> to grow or resize the selected range.
>> Now the anchor only appears whenever the focus is in the inputline. I am
>> trying to find the function that is responsible
>> for the anchor to appear. I came across the  *
>> ScGridWindow::CreateAnchorHandle* function but don't think it is
>> really useful. Can you let me know which is the relevant function ?
>>
>
> Do you mean the rectangle at the lower right corner of a reference range?
> That is part of the range highlighting when you start editing an existing
> formula, not when you input a new reference. It doesn't matter if the focus
> is in the input line or the cell area. It's drawn in
> ScOutputData::DrawRefMark if bHandle is set (called from
> ScGridWindow::Draw).
>
> ScGridWindow::CreateAnchorHandle is for the anchors of drawing objects.
>
> Niklas
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>


-- 
" Happiness makes up in height for what it lacks in length." (Robert Frost)

Reply via email to