How do you change the enabled state of an CEdit control?
There does not seem to be any CEdit or CWnd member function that will do it.
In MSDN, there mentions something about a Control Table.
ControlCondition Table
http://msdn2.microsoft.com/en-US/library/aa368035.aspx
How do I make use of this?
There seems to be some way of doing this using the
pCmdUI pointer and saying pCmdUI->Enable( FALSE );
but the pCmdUI pointer needs to passed into a method.
So using the Class Wizard, I looked up what possible
method this might be associated with the edit control.
All I see as options are for
EN_ALIGN_LTR_EC
EN_ALIGN_RTR_EC
EN_CHANGE
EN_ERRSPACE
EN_HSCROLL
EN_KILLFOCUS
EN_UPDATE
EN_VSCROLL
and NM_THEMECHANGED