Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Keybd_event problem

Status
Not open for further replies.

MikeAngelastro

Programmer
Mar 2, 2000
26
0
0
US
Hi,

Keybd_event VK_SNAPSHOT, 1, 0, 0

The code above should copy only the active window. Instead it copies the whole screen. Changing the "1" to a "0" provides the same result. When I press Alt+PrtScr on the keyboard, it works properly.

I have Windows 2000 Server.

Any Ideas?

Mike
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top