BeforeExpand is supported so hook in code (e.g. in your form load event):
treeView1.BeforeExpand += new
TreeViewCancelEventHandler(treeView1_BeforeExpand);
AddHandler treeView1.BeforExpand, AddressOf treeView1_BeforeExpand
AfterExpand is not supported in CF 1.0 (it is in CF 2.0 along with
Before/AfterCollapse). You could handle the AfterSelect event and check to
see if the treenode(s) is/are expanded
Cheers
Daniel