Type a page name and press Enter. You'll jump to the page if it exists, or you can create it if it doesn't.
To create a page in a module other than user32, prefix the name with the module name and a period.
SetCaretPos (user32)
.
C# Signature:
[DllImport("user32.dll", SetLastError=true)]
static extern bool SetCaretPosition(int x, int y);
VB Signature:
Declare Function SetCaretPosition Lib "user32.dll" (x As integer, y As integer) As Int32
User-Defined Types:
None.
[DllImport("user32.dll")]
static extern bool SetCaretPos(int X, int Y);
Notes:
None.
VB Signature:
Public Declare Auto Function SetCaretPos Lib "User32" (ByVal x As Integer, ByVal y As Integer) As Boolean
Tips & Tricks:
Please add some!
User-Defined Types:
None.
Sample Code:
Please add some!
Notes:
The system provides one caret per queue. A window should create a caret only when it has the keyboard focus or is active. The window should destroy the caret before losing the keyboard focus or becoming inactive. A window can set the caret position only if it owns the caret.
Alternative Managed API:
Do you know one? Please contribute it!
Tips & Tricks:
Please add some!
Sample Code:
Please add some!
Alternative Managed API:
Do you know one? Please contribute it!
TODO - a short description
7/28/2021 1:07:51 PM - -94.54.20.93
Please edit this page!
Do you have...
helpful tips or sample code to share for using this API in managed code?
corrections to the existing content?
variations of the signature you want to share?
additional languages you want to include?
Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing supporting types needed for this API (structures, delegates, and more).