Home > Software engineering >  VB how to realize the QQ computer keeper button interface
VB how to realize the QQ computer keeper button interface

Time:10-15

VB how to realize the QQ computer keeper is the mouse button interface slip shows the transparent box, source,

CodePudding user response:

, is the most simple map, prepare the picture of the two states, switch on the mousemove, vb no mouse leave events,

You can Google the vb mouseleave

CodePudding user response:

Write a mouse function.

Mousemove events to add to the button carrying boxes of images, to restore the state of the other buttons at the same time. In the form of mousemove event remove all button box pictures.

Or: just what button all don't, global form the mouse mousemove events, detect the mouse in a place like a "button" texture in this area. Remove the other area of the map at the same time. Button events can also be in the form of the mousedown by coordinate which to judge the user pressed the "button"
  • Related