Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Guide to Clip-4-Win version 3.0 - <b>getcaretx()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
GetCaretX()
Get the x-position of the caret
------------------------------------------------------------------------------

Syntax
GetCaretX()   -->   nX

Arguments
None.

Returns
An integer representing the current x co-ordinate of the
caret's position.

Description
This function returns the caret's x-position, relative to the
window containing the caret (normally the application's top-
level window).

Example
// Move the caret right
SetCaretPos( GetCaretX() + 1, GetCaretY() )


See Also: GetCaretY() HideCaret() SetCaretPos() ShowCaret()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson