Click here to Skip to main content
15,920,603 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: need help selecting rows in a DataGridView Pin
helelark12326-Dec-07 19:27
helelark12326-Dec-07 19:27 
GeneralRe: need help selecting rows in a DataGridView Pin
Shimmy Weitzhandler29-Dec-07 7:49
Shimmy Weitzhandler29-Dec-07 7:49 
AnswerRe: need help selecting rows in a DataGridView [modified] Pin
Shimmy Weitzhandler30-Dec-07 13:53
Shimmy Weitzhandler30-Dec-07 13:53 
QuestionWriting to and reading from a text file Pin
Hedo26-Dec-07 15:12
Hedo26-Dec-07 15:12 
GeneralRe: Writing to and reading from a text file Pin
helelark12326-Dec-07 19:44
helelark12326-Dec-07 19:44 
GeneralRe: Writing to and reading from a text file Pin
Hedo27-Dec-07 16:55
Hedo27-Dec-07 16:55 
QuestionMouse Movement in VB 6.0 Pin
zawpai26-Dec-07 14:59
zawpai26-Dec-07 14:59 
GeneralRe: Mouse Movement in VB 6.0 Pin
Dave Kreskowiak27-Dec-07 12:27
mveDave Kreskowiak27-Dec-07 12:27 
I can't remember if this is going to apply to VB6 or not, but...

Handle the Form's MouseLeave event and you'll know when the mouse leaves your form. As for getting the mouse information after that, you'll probably have to run a Timer to fire off some code that gets the mouse position and compares it to the known coordinates of the edges of the screen. You'll probably need to use the GetMousePos function to get what you need.

You'll have to call the GetSystemMetrics[^] function to get the screen dimensions.



A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007




Question[Message Deleted] Pin
ciconte26-Dec-07 14:28
ciconte26-Dec-07 14:28 
GeneralRe: Terms of use and e-mail subscription Pin
Dave Kreskowiak27-Dec-07 12:21
mveDave Kreskowiak27-Dec-07 12:21 
GeneralRe: [Message Deleted] Pin
Paul Conrad30-Dec-07 10:45
professionalPaul Conrad30-Dec-07 10:45 
GeneralExport Excel Sheet to Textfile (vb.net) Pin
Member 375080126-Dec-07 13:45
Member 375080126-Dec-07 13:45 
GeneralRe: Export Excel Sheet to Textfile (vb.net) Pin
Paul Conrad30-Dec-07 10:46
professionalPaul Conrad30-Dec-07 10:46 
QuestionRe: Export Excel Sheet to Textfile (vb.net) Pin
Member 37508012-Jan-08 7:08
Member 37508012-Jan-08 7:08 
GeneralBetter way of connecting to SQL 2005 Pin
svanwass26-Dec-07 13:31
svanwass26-Dec-07 13:31 
GeneralRe: Better way of connecting to SQL 2005 Pin
Dave Kreskowiak27-Dec-07 12:17
mveDave Kreskowiak27-Dec-07 12:17 
QuestionClass disposal Pin
__OZ__26-Dec-07 10:33
__OZ__26-Dec-07 10:33 
GeneralRe: Class disposal Pin
Dave Kreskowiak26-Dec-07 10:59
mveDave Kreskowiak26-Dec-07 10:59 
GeneralRe: Class disposal Pin
__OZ__26-Dec-07 15:10
__OZ__26-Dec-07 15:10 
GeneralRe: Class disposal Pin
Scott Dorman26-Dec-07 17:55
professionalScott Dorman26-Dec-07 17:55 
QuestionHow to work with Collection in VB6? Pin
suguimoto26-Dec-07 6:48
suguimoto26-Dec-07 6:48 
AnswerRe: How to work with Collection in VB6? Pin
Paul Conrad26-Dec-07 7:43
professionalPaul Conrad26-Dec-07 7:43 
AnswerRe: How to work with Collection in VB6? Pin
Dave Kreskowiak26-Dec-07 8:08
mveDave Kreskowiak26-Dec-07 8:08 
GeneralRe: How to work with Collection in VB6? Pin
suguimoto26-Dec-07 8:55
suguimoto26-Dec-07 8:55 
GeneralRe: How to work with Collection in VB6? Pin
Dave Kreskowiak26-Dec-07 9:05
mveDave Kreskowiak26-Dec-07 9:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.