I have a CMFCToolBarComboBoxButton, which is exhibiting slightly weird behaviour. On occasions, when the layout of the window is changed, the comboBox edit field loses the ability to edit, i.e., when the focus is placed on the edit filed of the combo box, the cursor is there, but it fails to accept alphabets or numbers, however, it can accept characters like '/', ';' and other such. I am not sure why it exhibits this behaviour.
This only happens once the layout is adjusted. If the edit area were to become disabled, I could check for something (though I have checked, and the EnableWindow(true) is applied). However, it does accept characters outside the alphabets or numbers.
Weirdly enough, if the focus is taken away from the layout entirely, like the window is minimized or maximized, or if another dialog box is opened from the layout, then it becomes activate, i.e., accepts characters again..
What could be the issue?