Completely custom Edit control
-
Hey guys. I am trying to figure out how i can create totally custom Edit control (something like CEdit, but i do all the painting). Something like this one in Vista's explorer, beautiful semitransparent search entry control. I have started with MFC (myEdit : CEdit) and overriding a different stuff, but the effect is actually miserable. For example it paints in
OnChar
its ugly white background color and there seems no way to get rid of it. Another question, this blinking cursor which indicates that a control has focus and user can enter some chars into Edit control - how windows paints it? Can you point me to a place where i can find complete information regarding implementation of Edit / Entry controls, or maybe share some knowledge with which window messages should i mess, should i go with MFC or plain Win32 API, etc. Thanks011011010110000101100011011010000110100101101110 0110010101110011
-
Hey guys. I am trying to figure out how i can create totally custom Edit control (something like CEdit, but i do all the painting). Something like this one in Vista's explorer, beautiful semitransparent search entry control. I have started with MFC (myEdit : CEdit) and overriding a different stuff, but the effect is actually miserable. For example it paints in
OnChar
its ugly white background color and there seems no way to get rid of it. Another question, this blinking cursor which indicates that a control has focus and user can enter some chars into Edit control - how windows paints it? Can you point me to a place where i can find complete information regarding implementation of Edit / Entry controls, or maybe share some knowledge with which window messages should i mess, should i go with MFC or plain Win32 API, etc. Thanks011011010110000101100011011010000110100101101110 0110010101110011
there are a number of completely custom edit controls/text editors here on CP that you could look at. it's a lot of work to write your own editor, but that's the best way to get the exact features you want. CEdit can only do so much...
csrss wrote:
this blinking cursor which indicates that a control has focus and user can enter some chars into Edit control
-
there are a number of completely custom edit controls/text editors here on CP that you could look at. it's a lot of work to write your own editor, but that's the best way to get the exact features you want. CEdit can only do so much...
csrss wrote:
this blinking cursor which indicates that a control has focus and user can enter some chars into Edit control