With all of the adjustments, here's what the button looks like, but doesn't make the text appear:
Maybe there is something wrong with the red code.
// TODO: Add your control notification handler code here
CEdit* pEdit = new CEdit;
pEdit->Create(ES_MULTILINE | WS_CHILD | WS_VISIBLE | WS_TABSTOP | WS_BORDER,
CRect(325, 100,400, 125), this, 1);
// Create a child static control that centers its text horizontally.
myStatic.Create(_T("my static"), WS_CHILD|WS_VISIBLE|SS_CENTER,