As I recall the forms 2.0 controls don't expose a hwnd (aka windowless
controls) and as such any API methods usually applied to regular edit (text)
controls will fail with the forms 2.0 controls.
--
Randy Birch
MS MVP Visual Basic
http://vbnet.mvps.org/
"rob" <mr****@hotmail .nl> wrote in message
news:41******** **************@ dreader7.news.x s4all.nl...
: Hi,
:
: Unfortunately this code doesn't work with a microsoft forms 2.0 textbox
:
: And I can't finf any information about it on the internet
:
: But thanx anywayzz :-)
:
: Cya
:
: "Kiteman - Canada" <-d*************@ shaw.ca> wrote in message
: news:Ami3d.5279 6$%S.41261@pd7t w2no...
: >A quick Google search came up with these two hits. Don't know if they
: >will work with a Forms 2.0 textbox.
: >
: >
http://www.vb-helper.com/howto_find_...ursor_pos.html
: >
: >
http://www.vb-helper.com/howto_track..._position.html
: >
: > Tom
: >
: > "rob" <mr****@hotmail .nl> wrote in message
: > news:41******** *************** @dreader7.news. xs4all.nl...
: >>
: >> I am having a problem of getting the position of the cursor in a
: >> microsoft
: >> forms 2.0 box. I need the position + linenumber. I am making a simple
: >> text
: >> editor which supports unicode.
: >>
: >> Does anyone knows how to do it ?
: >> Thanx in advance
: >> Rob
: >
: >
:
: