Well, for the first time that the dialog is opened, focus is on the edLang edit box, but if the focus is in other edit box
when closing the dialog, on the next time the dialog is open the focus is on that edit box and not on the edLang, even executing the
code of OnMenuOptionSettings(void).
It seems that the dialog (m_dlgSettings) saves state.
Yes.
Quote:
Do I have to clear the state when closing the dialog?
Better before opening.
Quote:
How to hanlde this?
Should i use ActiveFocus or SetFocus.