Hi Roger
As I can put DCTREEITEM CAPTION 'Sub-SubTree 2/1' PARENT oSubTree2
disable
DCTREEITEM AND DISEBLE
DCTREEITEM AND DISEBLE
Nolberto Paulino
Regards
Regards
Re: DCTREEITEM AND DISEBLE
The DCTREE system is created using XbpTreeView() and XbpTreeViewItem().
Unfortunately, this class does not support disabling of an item.
Unfortunately, this class does not support disabling of an item.
The eXpress train is coming - and it has more cars.
Re: DCTREEITEM AND DISEBLE
hi,
i have create "native" DXE_TreeView() / DXE_TreeViewItem() and try compatible Syntax to Xbase++
i need it for Unicode while Xbase++ Treeview Version does not work with Unicode ( Chinese BIG5 )
my "native" DXE Version :
a.) can use Ownerdraw Syntax like Xbase++ ( with other XbParts )
b.) can use NM_CUSTOMDRAW Notify Event for real Customdraw ( need Source )
to check what User click :
c.) hitTest(hitTestInfo) : http://msdn.microsoft.com/en-us/library ... 85%29.aspx
if a Item is disable but have (disable) Sub-Item you can denied to expand(item,flag)
http://msdn.microsoft.com/en-us/library ... 85%29.aspx
try Demo if we can use it to modify it your Way you need.
i have create "native" DXE_TreeView() / DXE_TreeViewItem() and try compatible Syntax to Xbase++
i need it for Unicode while Xbase++ Treeview Version does not work with Unicode ( Chinese BIG5 )
my "native" DXE Version :
a.) can use Ownerdraw Syntax like Xbase++ ( with other XbParts )
b.) can use NM_CUSTOMDRAW Notify Event for real Customdraw ( need Source )
to check what User click :
c.) hitTest(hitTestInfo) : http://msdn.microsoft.com/en-us/library ... 85%29.aspx
i think using a new IVar can handle enable/disable and draw Icon / Text "Grey" if disable ( or don't show it ?)Determines the location of the specified point relative to the client area of a tree-view control.
if a Item is disable but have (disable) Sub-Item you can denied to expand(item,flag)
http://msdn.microsoft.com/en-us/library ... 85%29.aspx
try Demo if we can use it to modify it your Way you need.
- Attachments
-
- dxe_INITREE.zip
- NEED ot4xb
- (764.14 KiB) Downloaded 608 times
greetings by OHR
Jimmy
Jimmy
Re: DCTREEITEM AND DISEBLE
rdonnay wrote:The DCTREE system is created using XbpTreeView() and XbpTreeViewItem().
I'm using DCTREEROOT
Unfortunately, this class does not support disabling of an item.
Nolberto Paulino
Regards
Regards