Can "owner-draw" edit controls be made without making my own custom edit class?
I thought of returning a brush created with CreatePatternBrush() in WM_CTLCOLOREDIT, but I haven't tried it yet.
Printable View
Can "owner-draw" edit controls be made without making my own custom edit class?
I thought of returning a brush created with CreatePatternBrush() in WM_CTLCOLOREDIT, but I haven't tried it yet.
Basically it worked but I don't know how to create a padding between my own border (which is in that bitmap) and the text that I can write into it...
Try setting the formatting rectangle with EM_SETRECT.
It only works with multiline edit controls...