Intellisense
-
Hi All, I would like to know how Intellisense editors are developed. I am currently trying to build one for SQL. I have a placed a text box control in VB form. When ever user types characters inside the text box, I am populating keywords in a combo box depending on the characters entered. How ever I have a difficulty in follwoing the cursor inside the text box. Let me know how I can get the x and Y co-ordinates of a cursor inside a text box Thanks:mad: :~ bala
-
Hi All, I would like to know how Intellisense editors are developed. I am currently trying to build one for SQL. I have a placed a text box control in VB form. When ever user types characters inside the text box, I am populating keywords in a combo box depending on the characters entered. How ever I have a difficulty in follwoing the cursor inside the text box. Let me know how I can get the x and Y co-ordinates of a cursor inside a text box Thanks:mad: :~ bala
gbala wrote: How ever I have a difficulty in follwoing the cursor inside the text box. Let me know how I can get the x and Y co-ordinates of a cursor inside a text box Do you mean cursor or caret? The caret is the blinking beam you get when typing into the textbox. You'll have to use raw API for this, and here are the functions...
GetCursorPos() GetCaretPos()
Jeremy Falcon Imputek