My Dialog has a tree control and an edit control, in
a configuration window type setup.

The problem I am having is that when I click on another
item in the TreeControl, the KillFocus event for the edit
does not fire before the TreeControl events start up.

The order of messages seems to be:

TVN_ONCLICK
TVN_SELCHANGED
EN_KILLFOCUS
TVN_SETFOCUS

This seems strange...shouldn't the TreeControl have to gain focus
before it allows the user to perform any actions on it, like changing the selection?