I want a blinking cursor

Call me crazy, maniac or whatever after reading this.
I have an EDIT control created with

1
2
3
4
5
6
7
8
9
10
11
12
13
CreateWindowEx(
               WS_EX_CLIENTEDGE,
               "EDIT",
               value,
               WS_VISIBLE|WS_CHILD|ES_MULTILINE|ES_AUTOVSCROLL,
               left,
               top,
               width,
               height,
               parent,
               (HMENU)name,
               hInst,
               0);


When I activate the textbox (by clicking on it), the cursor (the horizontal dash that shows the caret position) is not blinking, like in any textbox in the world. I wonder if my textbox has some problems, or why is it different. I must specify that I handle its messages in a special function (with(WNDPROC)SetWindowLong())

Maybe it is not something so difficult to make it behave like any cursor: blink. Thanks
Last edited on
I do not believe the problem is due to the code you gave, and does it matter? If your textbox does not work at all then you have a problem, but the issue you mentioned deems minuscule to me. The problem could be due to your computers settings and have nothing at all to do with your code.
You've apparently subclassed the textbox. Are you correctly passing on all messages received in your subclass proc to the original edit box WndProc? If not, that could cause all kinds of anomolous behavior, and might explain what you are experiencing.
Topic archived. No new replies allowed.