You need WS_EX_CLIENTEDGE style. Take a look at the following article:
How to Create Controls w/ a 3D Border at Run Time Using MFC
ID: Q132243
--
Ajay Kalra
Microsoft VC++/MFC MVP
NOTE: Please post all replies to newsgroup.
Quote:
> When i put a CEdit item on the CView object, how can i make it a 3d look
> rather then a plan rectangle??