'MFC: How to add clear button inside CEdit?

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?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source