Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 295
  • Last Modified:

CEdit

MFCer,

How can I create a CEdit object with sunken edge ??????

Andrew
0
andrewyu
Asked:
andrewyu
1 Solution
 
Tommy HuiCommented:
You can use

  ModifyStyleEx(0, WS_EX_CLIENTEDGE);

0
 
andrewyuAuthor Commented:
I had already tried this, but, I cannot ...... Why ??????

Andrew
0
 
shaigCommented:
you can also do this through:

1. the resource editor
2. PreCreateWindow
3. Create(         ...the extended flags param  )
0
 
schneewiCommented:
I think, WS_BORDER and WS_EX_CLIENTEDGEare displayed in the same way. Do you use WS_BORDER?
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now