How to add a prefix and a postfix to CEdit-derived class?
-
How to add a CEdit-derived class output the text/icon in the beginning and-or in the end of CEdit window. I can allocate an area for the text/icon by SetMargins method, but in what method and how is better output a text or icon not clearly. It is desirable, that other CEdit functional was not broken Similar to CEdit from Data group and MsgID groups (http://www.canusb.com/canusb_labview.jpg[^])
-
How to add a CEdit-derived class output the text/icon in the beginning and-or in the end of CEdit window. I can allocate an area for the text/icon by SetMargins method, but in what method and how is better output a text or icon not clearly. It is desirable, that other CEdit functional was not broken Similar to CEdit from Data group and MsgID groups (http://www.canusb.com/canusb_labview.jpg[^])
You will need an owner draw edit control. Here is a reference on how it is done. - How to change the back color of an edit box when it gets the focus[^]
«_Superman_» I love work. It gives me something to do between weekends.