logo
What's New
What's New
  Popular
Popular
  Top Rated
Top Rated
  Search
Search


Search :  

How to Add Link |   Modify Link   |   Login |     Register  |  Getting Rated |  Link to Us |  Feedback Us


Sponsors
FlashAdvisor.com
Web Directory
phpld Hacks
Software Download
Your Site Link




Categories
    3DS MAX
    ASP
    C And C++
    ColdFusion
    Database
    Dreamweaver
    Flash
    HTML
    Java
    JavaScript
    Linux
    Maya
    MS Excel
    MS PowerPoint
    MS Word
    Paint Shop Pro
    Perl and CGI
    Photoshop
    PHP
    Premiere
    Python
    Visual Basic
    Web Hosting
    XML
 

 

Hiding and Displaying the Mouse Cursor in Visual Basic
  

Home  » Visual Basic » Miscellaneous  

Hiding and Displaying the Mouse Cursor in Visual Basic This quick tutorial shows you how to hide and show the mouse cursor in Visual Basic. Hiding and Displaying the Mouse Cursor in Visual Basic Pesky, isn't it? I hate that little cursor sometimes, and now I'm armed and ready to kill it. The scourge of mice everywhere, the bane of the arrow, it's the ShowCursor function! Private Declare Function ShowCursor Lib "user32" (ByVal bShow As Long) As Long This tutorial is not for the faint of heart, or the verbose... this promises to be quite short. There are only two things you need to know about this API call, how to hide the cursor, and how to show the cursor. Notice I said "hide" not destroy. The ability to click is still there, even though we remove the cursor, there is simply no longer a graphical representation. To remove the cursor, pass 0 (that's a zero not the letter 'o') as the bShow argument. To replace the cursor, pass 1 as the bShow argument, that's it! Here's an example in case you're a slow learner :) ShowCursor 0

Hits: 330
Rate:   0.0(out of 5)  
Vote : 0   
Submit Date  : 2006-03-27
Submit By  : codebeach
View Tutorial Hiding and Displaying the Mouse Cursor in Visual Basic
 Add Review
 Report Error
Rating Graph

0.0%
0.0%
0.0%
0.0%
0.0%
 1  2  3  4  5 
Rate This :
More Tutorials by this user

Sun Certification Project Overview
 Sun Certification Project Overview
Determining the Cursor Position in Visual Basic
 Determining the Cursor Position in Visual Basic
Arrays in ASP
 Arrays in ASP
Dynamic Usage of Event Handlers in VB.NET
 Dynamic Usage of Event Handlers in VB.NET
Convert a Multipage TIFF to PDF in .NET
 Convert a Multipage TIFF to PDF in .NET
Creating and sending HTML email in Visual Basic - Part 2
 Creating and sending HTML email in Visual Basic - Part 2
Getting Your Hands Dirty with VBScript
 Getting Your Hands Dirty with VBScript
Backing Up And Restoring Your MySQL Database
 Backing Up And Restoring Your MySQL Database
Mastering Regular Expressions in PHP
 Mastering Regular Expressions in PHP
  
Home | Sitemap | Feedback | Advertise with us
Best viewed in 800x600 resolution with Internet Explorer.
Site Developed and Hosted by EthicSolutions

Flash Tutorials    TemplateAdvisor.com    WebMastersHome.com

    Reseller Hosting    Reseller Hosting Linux