Click here to Skip to main content
15,899,679 members
Home / Discussions / C#
   

C#

 
GeneralRe: getting client ip Pin
Ankit Aneja18-Jan-06 1:26
Ankit Aneja18-Jan-06 1:26 
AnswerRe: getting client ip Pin
Guffa24-Jan-06 23:05
Guffa24-Jan-06 23:05 
Questionhelp me plssssssssssssss Pin
willsgeorge18-Jan-06 0:41
willsgeorge18-Jan-06 0:41 
AnswerRe: help me plssssssssssssss Pin
Sheel Gohe18-Jan-06 1:22
Sheel Gohe18-Jan-06 1:22 
QuestionCrystal reports sharing Pin
robmays18-Jan-06 0:24
robmays18-Jan-06 0:24 
Questionvideo playing Pin
sa maq18-Jan-06 0:05
sa maq18-Jan-06 0:05 
QuestionHow to Extract a Key ScanCode in WndProc Pin
redfish3417-Jan-06 23:07
redfish3417-Jan-06 23:07 
AnswerGOT IT! Shooting 2 for 2! Pin
redfish3418-Jan-06 17:09
redfish3418-Jan-06 17:09 
In an open source programm called Putty i found the answer. I do not fully understand the bit shifting and &ing but it works. I know it is a rubik's cube type maneuver to "pop out" a certain set of bits. It extracts the scancode from the LParam value. For anyone who wants to save 20 hours of research. The below is not an obvious find if you tried researching the internet starting with zero knowledge.

For WM_KEYDOWN
uint virtualCode = (uint)m.WParam;
uint keyState = (uint)m.LParam;
uint scanCode = keyState >> 16 & 0xFF;

Here you have the core values you need to resolve keys to text using various Win32 functions.


GeneralRe: GOT IT! Shooting 2 for 2! Pin
Dan Neely19-Jan-06 2:18
Dan Neely19-Jan-06 2:18 
Questionwana read a binary file and display its data into text file Pin
geek-age17-Jan-06 22:30
geek-age17-Jan-06 22:30 
AnswerRe: wana read a binary file and display its data into text file Pin
Guffa17-Jan-06 22:53
Guffa17-Jan-06 22:53 
GeneralRe: wana read a binary file and display its data into text file Pin
geek-age17-Jan-06 23:10
geek-age17-Jan-06 23:10 
AnswerRe: wana read a binary file and display its data into text file Pin
Guffa18-Jan-06 0:32
Guffa18-Jan-06 0:32 
Questionusing javascript and xml Pin
imsathy17-Jan-06 21:50
imsathy17-Jan-06 21:50 
QuestionDatagridview determine if row is a new row Pin
CandyMe17-Jan-06 21:47
CandyMe17-Jan-06 21:47 
AnswerRe: Datagridview determine if row is a new row Pin
sathish s17-Jan-06 22:33
sathish s17-Jan-06 22:33 
QuestionHow to do media stremining? Pin
Divyang Mithaiwala17-Jan-06 20:04
Divyang Mithaiwala17-Jan-06 20:04 
AnswerRe: How to do media stremining? Pin
Dave Kreskowiak18-Jan-06 5:18
mveDave Kreskowiak18-Jan-06 5:18 
QuestionWhat's more easy for the machine? Pin
shopi3017-Jan-06 19:43
shopi3017-Jan-06 19:43 
AnswerRe: What's more easy for the machine? Pin
CWIZO17-Jan-06 21:03
CWIZO17-Jan-06 21:03 
AnswerRe: What's more easy for the machine? Pin
Guffa17-Jan-06 21:51
Guffa17-Jan-06 21:51 
GeneralRe: What's more easy for the machine? Pin
shopi3018-Jan-06 1:24
shopi3018-Jan-06 1:24 
GeneralRe: What's more easy for the machine? Pin
shopi3018-Jan-06 1:25
shopi3018-Jan-06 1:25 
AnswerRe: What's more easy for the machine? Pin
DavidNohejl17-Jan-06 21:47
DavidNohejl17-Jan-06 21:47 
GeneralRe: What's more easy for the machine? Pin
shopi3018-Jan-06 1:25
shopi3018-Jan-06 1:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.