How can I check are some Subtree Items visible now?
It means that this Subtree is expanded and Items are visible on a screen?
Leonid Khait <lhait@diaspro.com> wrote:
How can I check are some Subtree Items visible now?
It means that this Subtree is expanded and Items are visible on a screen?
PtTreeItem *item = …
if ( item->gen.list.flags & Pt_TREE_ITEM_EXPANDED )
… // item’s children are visible
–
Wojtek Lerch (wojtek@qnx.com) QNX Software Systems Ltd.
Wojtek Lerch <wojtek@qnx.com> ÚÁÐÉÓÁÎÏ × ÓÔÁÔØÀ
<8u6ikq$pcn$1@nntp.qnx.com>…
Leonid Khait <> lhait@diaspro.com> > wrote:
How can I check are some Subtree Items visible now?
It means that this Subtree is expanded and Items are visible on a
screen?PtTreeItem *item = …
if ( item->gen.list.flags & Pt_TREE_ITEM_EXPANDED )
… // item’s children are visible–
Wojtek Lerch (> wojtek@qnx.com> ) QNX Software Systems Ltd.Thank you, and flags Pt_TREE_ITEM_ABOVE and Pt_TREE_ITEM_BELOW say about
visible item.