Interfaccia per la gestione dell'oggetto Treeview fornito da windows.
Questa funzione in realtà un
bridge tra un oggetto easyhand e la windows treeview (del gruppo del common control).
Per ulteriori dettagli guarda
http://msdn.microsoft.com/en-us/library/windows/desktop/bb759988(v=vs.85).aspxSintassi
#include "/easyhand/ehtool/ZCMP_TreeView.h"
// 1. Aggiungere nell'array deglio oggetti
{O_ZONAP ,"ZN3" ,OFF,ON , 3, 3,290,382,"","",ehzTreeView},
// 2. Leggere l'handle della window
sSetup.hwndTVDbase=objWindow("ZN3");
// 3. Settare la funzione di notifica
objSetNotify("ZN3",0,_TreeViewNotify);
// 4. Settare eventuali flag
obj_message("ZN3",WS_SETFLAG,TVS_EDITLABELS,"STYLE");
Commenti
Una tantum dopo ehStart() aggiungere
EhTreeView(NULL,WS_START,0,NULL);
Flag
I flags permettono di determinare un comportamento o aspetto della treeview.
Vedi
http://msdn.microsoft.com/en-us/library/windows/desktop/bb760013(v=vs.85).aspx