|
Post by Roger Cabo on Aug 20, 2020 0:14:33 GMT 1
Hi everyone,
I created a Mouse over effect for any controls in a form. It works very simple. You can use as many controls as you like. It's fast enough to handle about 10000 controls at the same time. Thanks to the Hash field! But who use 10000 in a form?!
There a some advantages in this example. The color does not hang if you move the mouse out of the window. There are no pooling repeats, if you use only Sub xxx_MouseMove(...) for the control and Windows Form. Pooling repeats cause the CPU too cook. For example, same if you use Do : DoEvents : Until Me is Nothing.
Update : more easier to handle 20,08,2020
Update : Small fix on leaving mouse out (Overlapping controls) 22,08,2020
|
|
|
Post by scalion on Sept 15, 2020 9:13:27 GMT 1
Good job! That's very effective. I keep this code under the elbow
|
|