Hi, i got a program that is using the Me.Visible = False and i need a hotkey.
The problem is the &YourHotKeyhere name on a button dont work when the form is not visible.
MVH Dajak

Recommended Answers

All 3 Replies

Hi,
Do u ask you have to receive your keypress event even the form is not visible and not having focus?

I mean when its not visible.
MVH Dajak

I think there is no way to receiving keyboard input when the form is invisible and not having focus in vb6. But it can be achieved by Windows APIs (For registry hot key or Global keyboard hook).

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.