jieg wrote: NO,i want invisible a one Item,no a whole Windows. You could overide the on item draw notification and draw something to indicate the item isn't available. Other than that I don't think this is possible. You either need to remove the item from the tree control or possibly write your own tree control. Neville Franks, Author of ED for Windows. www.getsoft.com