Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
TreeView Control and page faults
I am having a problem with the treeview control which is causing me a lot of grief. I have a couple of forms using the treeview without any apparent problems. I can refresh the data in the treeview (via some changed date parameters) and it refreshes fine. However, if I print from this form (ie, do a print preview) the next time I refresh the data, I generate a GPF page fault. The refresh, by the way, clears all the nodes and reloads them. This all works fine if I don't print preview. If I do a print to printer, all is well.
I have another form with a treeview and it exhibits similar problems, unless another form has been opened on top of it, gone through a save routine and then closed.
It seems as if having another form on top of the form with the treeview control causes some problems. I am wondering if anyone else has experienced any problems with the treeview and what the problem is related to. I know the GPF occurs when I do an add to the node collection.
Thanks.
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement