Results for "Author: phobos"
This program will allow you to examine and toggle the Caps, Scroll and Num Lock settings on all versions of windows. I found several examples on PSC, but none that seemed to work on all versions so I put together the best of what I could find and after a little adapting I had what I believe to be some usefull code.
This program will demonstrate how to capture the extra mouse buttons such as the mouse wheel and x buttons (the buttons on the side of the mouse). Mouse Hooking is employed so these the events can be captured independantly of the controls.
This program improves on the work presented by Evan Toder regarding the capture of Mouse Enter and Exit events. This version will capture events from all controls on a form - including those without hwnd properties (such as labels, images etc). The program can also handle control arrays, and controls that are nested in containers. You also have the ability to choose which controls have their mouse enter/exit events reported. Mousewheel events have also been added.
This provides a SIMPLE solution to sending data between any 2 vb applications. No ActiveX, DDE, COM, DCOM or OLE requirements. The transfer process is easy to follow and you should have little difficulty passing to more controls if required.
VB provides a very easy way in which to pass multiple parameters to subroutines and functions. Whilst it is possible to return the results of processing in the passed parameters it is not very good practice, but many programmers do it anyway because they believe that VB functions will only return one parameter. This simple example shows a clean method of returning as many parameters as you like from a function without resorting to modifying the passed parameters.
This projects demonstrates how you can detect Mouse Over and Exit events on a form using a class module.
This program will allow you to examine and toggle the Caps, Scroll and Num Lock settings on all versions of windows. I found several examples on PSC, but none that seemed to work on all versions so I put together the best of what I could find and after a little adapting I had what I believe to be some usefull code.
This program will demonstrate how to capture the extra mouse buttons such as the mouse wheel and x buttons (the buttons on the side of the mouse). Mouse Hooking is employed so these the events can be captured independantly of the controls.
This program improves on the work presented by Evan Toder regarding the capture of Mouse Enter and Exit events. This version will capture events from all controls on a form - including those without hwnd properties (such as labels, images etc). The program can also handle control arrays, and controls that are nested in containers. You also have the ability to choose which controls have their mouse enter/exit events reported. Mousewheel events have also been added.
This provides a SIMPLE solution to sending data between any 2 vb applications. No ActiveX, DDE, COM, DCOM or OLE requirements. The transfer process is easy to follow and you should have little difficulty passing to more controls if required.
VB provides a very easy way in which to pass multiple parameters to subroutines and functions. Whilst it is possible to return the results of processing in the passed parameters it is not very good practice, but many programmers do it anyway because they believe that VB functions will only return one parameter. This simple example shows a clean method of returning as many parameters as you like from a function without resorting to modifying the passed parameters.
This projects demonstrates how you can detect Mouse Over and Exit events on a form using a class module.