MFC: How to add clear button inside CEdit?

251 views Asked by At

I need to add a clear button inside the CEdit control like this:

enter image description here

And I used CMFCEditBrowseCtrl, as described in this article: MFC Feature Pack - CMFCEditBrowseCtrl.

But the problem is that it shows a very small icon on monitors with high pixel density:

enter image description here

I tried to set a big icon, but the button remains narrow:

enter image description here

Could you please advice some solution?

0

There are 0 answers