
| Last Modification: December 11, 1999 |
How can I make my Edit Controls created at runtime look 3D?
The trick is making sure that the control gets the WS_EX_CLIENTEDGE extended
style. To do this, you can:
CEdit::CreateEx() instead of CEdit::Create().
Remember that WS_EX_CLIENTEDGE is an extended style, not a "normal"
style, so you cannot specify it in the dwStyle parameter; you have to
specify it in dwExStyle. CEdit::ModifyStyleEx() to add the WS_EX_CLIENTEDGEReferences and Samples: