Desktop Functions: Smart Device Functions:
|
setcursor (user32)
C# Signature:
[DllImport("user32.dll")] VB Signature:
<DllImport("user32.dll")> _ User-Defined Types:None. Notes:None. Tips & Tricks:Please add some! Sample Code://========SET WINDOWS CURSOR========================================
IntPtr cursor = LoadCursorFromFile("example.cur"); //========SET WINDOWS CURSOR======================================== //========SET FORM CURSOR========================================
IntPtr cursor = LoadCursorFromFile("example.cur"); //========SET FORM CURSOR======================================== //========SET FORM CURSOR FROM IMAGE========================================
Bitmap hh = (Bitmap)System.Drawing.Bitmap.FromFile("example.png"); //========SET FORM CURSOR FROM IMAGE======================================== Alternative Managed API:System.Windows.Forms.Cursor.Current Please edit this page!Do you have...
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). |
|