jeudi 12 mars 2015

catch complex focus in winform app

I have complex app and I lose focos in some cases. I use one form and dockpanels. I load dynamic elements on form so on start I don't have all elements on form.


The problem is that i can't figure out where the focus is. I have event gotfocus and lostfocus on form.activecontrol but It can't catch moment of lose. Maybe problem is with dockpanels or dynamic elements which are added in some cases. Do you know How to trace every focus chanage in whole app? Is It possible?


Thx


Aucun commentaire:

Enregistrer un commentaire