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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Print Screen 1

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I would like my program to either display a message when "Print Screen" is being pressed, or let the program disable the button totally, but I need the key code for it, and I haven´t been able to find it anywhere.

Does anyone know the key code for "Print Screen"?
 
TealWren do you have a list of these keys?, I looked for the printscreen but didn't found it it:
I know:
VK_NEXT (PageUp)
VK_PRIOR (PageDown)
VK_LEFT, VK_RIGHT, VK_NUMLOCK and VK_CAPITAL

Regards S. van Els
SAvanEls@cq-link.sr
 
HI Svanels
If you look in The Delphi 1 Stuff Bin folder (If you have it) there is a WinAPI.hlp file Contents/tables virtual key codes list all the VK_ codes
Steve
 
There's also a list in the help file, I think under virtual key codes. :) TealWren
 
Hi

I think It will depend on which version of Delphi you have.
V2 and V3 have a Delphi 1 folder, which contains the API Help stuff there is no table of keycodes in the normal help.

I havnt checked 4 yet this dosent ship with D1 so they may have put the API stuff where it belongs !!

D6 help does have a section Virtual Key codes. But you wont find it using the index.

Steve
 
Thanks guys, I found it in the MS SDK help Win32 Programmer's reference S. van Els
SAvanEls@cq-link.sr
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top