Can anyone tell me why, given I have the createcaret
api in a bas module, the following code does not create a block caret. I've tried this code in keypress and keydown. Neither worked, no error messages.
h& = GetFocus&()
Call CreateCaret(h&, 0, 5, 15)
m& = ShowCaret&(h&)
The only key to give the block is the insert key.
I am speaking of a line which has text on it. So if I click in the middle of said line, & hit insert, I want to be in insert mode with a blocked caret.
Hitting any key other than insert turns the block back off, why?
Typeing on a blank line doesn't!
Is there any way to make this work the way I want?
Also, if there is, to make the block proportional to the type size.
Thanks in advance
Clyde Saye
api in a bas module, the following code does not create a block caret. I've tried this code in keypress and keydown. Neither worked, no error messages.
h& = GetFocus&()
Call CreateCaret(h&, 0, 5, 15)
m& = ShowCaret&(h&)
The only key to give the block is the insert key.
I am speaking of a line which has text on it. So if I click in the middle of said line, & hit insert, I want to be in insert mode with a blocked caret.
Hitting any key other than insert turns the block back off, why?
Typeing on a blank line doesn't!
Is there any way to make this work the way I want?
Also, if there is, to make the block proportional to the type size.
Thanks in advance
Clyde Saye