How to draw a line in Edit box?
-
Hello everyone. I want to draw edges for an Edit box. But I have to draw the lines inside the Edit box, because the edit box is too big. I tried to change the size of the Edit box, but I cannot make the height any smaller. The problem is that the line in the Edit box will be blocked by the Edit box. I tried to set the edit box to transparent, but I still cannot the lines. Any idea about how to fix this problem? Thanks a lot in advance. Bin
-
Hello everyone. I want to draw edges for an Edit box. But I have to draw the lines inside the Edit box, because the edit box is too big. I tried to change the size of the Edit box, but I cannot make the height any smaller. The problem is that the line in the Edit box will be blocked by the Edit box. I tried to set the edit box to transparent, but I still cannot the lines. Any idea about how to fix this problem? Thanks a lot in advance. Bin
Derive a class from CEditBox, handle OnDraw Event and now the whole Editbox control window is all urs to draw what ever you want to.
MSN Messenger. prakashnadar@msn.com