One suggestion is set X,Y co-ordinates and if the mouse is moved outside those co-ordinates the form hides and when the mouse moves back into the co-ordinates the form shows. Sounds good in theory but not sure how to put it into action......Something to work with.
I figure that to be a bit complicated, since a form that is hidden does not recieve any mouse_events. So you need other forms to take the event that will show your form again. But those othr forms could be outside you'Re application.
Could you give some more details, maybe there is another way of doing what you really want to do.
You're welcome to rate this post!
If your problem is solved, please use the Mark thread as resolved button Wait, I'm too old to hurry!
I want to do an Autohiding window, like the task bar, when you put the mouse closer the task bar you can see it, but if you take out the mouse, the task bar is hide, in mi window or form I will have bottons that will restart the computer or log off an user
al peor programador hasta el HELLO WORLD le marca error.....
event to the worst programmer the Hello world marks him error..
Whe you move the mouse over the form you've got it to move up towards the top of the screen as per your code below. As of a way to get waht you want, i'm not sure. Why do you want to hide a form when the mouse is moved over it??
For all who downloaded the attachment of the last post... Well, it works but when you go over a control (A button, a textbox, etc) the form will hide too... So I solved this in the following attachment.
Cheers!
We miss you, friend... Rest in Peace, we will take care of the rest of it.
[vbcode]
On Error Me.Fault = False
[/vbcode]
- Silence is the human way to share ignorance
Tec-Nico