Re: <treectrlWidget> item bbox doesn't work
- From: "Tim Baker" <tnbaker1@xxxxxxx>
- Date: Fri, 29 Feb 2008 20:17:36 GMT
It looks like integer overflow. "$t item box $item" works but
"$t item bbox $item $column" overflows. I'll have to rewrite
it not to use the XRectangle structure which uses short integers.
-- Tim Baker
Hi all,
If I have more than 1818 items(yes, this number) inside of a folder in
a treectrl widget, then for the 1819th item in that same folder, the
"<treectrlWidget> item bbox <item> <column> <element>" command
fails. It returns a negative for the y position, the x coord is fine.
This was noticed, if we try to call ::TreeCtrl::FileListEdit to edit a
text element, then for 1819th item ( and higher) in a folder, the edit
box never comes up.
Is anyone aware of this issue? Is there a fix for this?
Your replies is appreciated.
Thanks,
Mona.
.
- References:
- <treectrlWidget> item bbox doesn't work
- From: impm001
- <treectrlWidget> item bbox doesn't work
- Prev by Date: Re: Help with sockets in block mode, please
- Next by Date: Re: <treectrlWidget> item bbox doesn't work
- Previous by thread: <treectrlWidget> item bbox doesn't work
- Next by thread: Re: <treectrlWidget> item bbox doesn't work
- Index(es):