Creates the Windows edit control and attaches it to the CEdit object.
You construct a CEdit object in two steps. First, call the CEdit constructor and then call Create, which creates the Windows edit control and attaches it to the CEdit object.
These messages are handled by default by the OnNcCreate, OnNcCalcSize, OnCreate, and OnGetMinMaxInfo member functions in the CWnd base class. To extend the default message handling, derive a class from CEdit, add a message map to the new class, and override the above message-handler member functions. Override OnCreate, for example, to perform needed initialization for the new class.
Apply the following window styles to an edit control.
WS_GROUP To group controls
WS_TABSTOP To include edit control in the tabbing order