I've got a picture box On a form in visual basic 6 and keypreview is set to true for the form. Keypress is being used to trap a letter pressed while the mouse is pointing at a particular object. A mouse version of cut and paste. But Keypress fails for most control keys. it sort of works for control C control L, control V end control L.
This ought to be trivial but apparently not.

Have a look at KeyUp, similar, but not identical.

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.