Using the following code gives me a 2D box, no borders.
CEdit* pEdit = new CEdit;
pEdit->Create(WS_VISIBLE | WS_TABSTOP | WS_BORDER,
CRect(40,380,300,400), this, 1);
Article 132243 in the MS knowledge base gives this example:
m_Edit.CreateEx(WS_EX_CLIENTEDGE, "EDIT", "",
WS_CHILD | WS_BORDER | WS_VISIBLE,
10, 10, 100, 100, pParent->GetSafeHwnd(), (HMENU)nID);
but I haven't had any luck with it.
I appreciate your help/ any help.