I can see a couple of problems :
- OnDraw() is not the right place for creating the CEdit control - CMy861a4VasilkovskiyView::Create() is probably the best place. If you leave it in OnDraw() this will recreate the CEdit control every time the view is redrawn, which isn't what you want.
- Your CEdit m_edit variable needs to be a member variable of your CMy861a4VasilkovskiyView class. This is the main reason it's not being drawn - at the moment m_edit goes out of scope before it gets drawn.