Click here to Skip to main content
16,004,887 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Visual C++6 Pin
super_ttd28-Aug-08 7:33
super_ttd28-Aug-08 7:33 
GeneralRe: Visual C++6 Pin
susanne128-Aug-08 21:26
susanne128-Aug-08 21:26 
GeneralRe: Visual C++6 Pin
super_ttd30-Aug-08 23:29
super_ttd30-Aug-08 23:29 
QuestionCListCTrl Hyperlink Problem Pin
Dhiraj kumar Saini28-Aug-08 2:03
Dhiraj kumar Saini28-Aug-08 2:03 
AnswerRe: CListCTrl Hyperlink Problem Pin
Nibu babu thomas28-Aug-08 2:40
Nibu babu thomas28-Aug-08 2:40 
QuestionKeyboard and Mouse State Pin
Alan Chambers28-Aug-08 1:58
Alan Chambers28-Aug-08 1:58 
AnswerRe: Keyboard and Mouse State Pin
Nibu babu thomas28-Aug-08 2:38
Nibu babu thomas28-Aug-08 2:38 
GeneralRe: Keyboard and Mouse State Pin
Alan Chambers28-Aug-08 4:09
Alan Chambers28-Aug-08 4:09 
Hi thanks for the reply, but it doesn't really help me. I've read the MSDN articles pretty thoroughly and that function basically only works on threads which have created a window using CreateWindow or CreateWindowEx and have a message pump. Since I've created the window on a separate thread, GetKeyboardState() only actually works if it's called within that threads loop, but it won't work on another thread unless AttachThreadInput() is used to share the message processing. However, AttachThreadInput() cannot be attached from or to the system thread (which is the one i'm using for my app) and in any case it would need to be a thread that has created a window and uses a windows message pump as well, which it does not.

Looks like what I'm after is quite low-level, raw device state reading functionality but all I'm seeing is Windows event driven solutions. There's got to be a way to bypass all this windows guff and read directly from whatever hardware is present..surely..?

Cheers for trying tho Smile | :)
Alan.

"When I left you I was but the learner, now I am the master" - Darth Vader

Questionshared memeory concepts in windows Pin
manju23reddy28-Aug-08 1:52
manju23reddy28-Aug-08 1:52 
AnswerRe: shared memeory concepts in windows Pin
Rajesh R Subramanian28-Aug-08 1:58
professionalRajesh R Subramanian28-Aug-08 1:58 
AnswerRe: shared memeory concepts in windows Pin
Jijo.Raj28-Aug-08 2:54
Jijo.Raj28-Aug-08 2:54 
Questionerror calling in dll Pin
VCProgrammer28-Aug-08 1:07
VCProgrammer28-Aug-08 1:07 
AnswerRe: error calling in dll Pin
Mark Salsbery28-Aug-08 5:55
Mark Salsbery28-Aug-08 5:55 
QuestionClient-Server program Pin
nisha0000028-Aug-08 0:49
nisha0000028-Aug-08 0:49 
AnswerRe: Client-Server program [modified] Pin
onlyjaypatel28-Aug-08 1:27
onlyjaypatel28-Aug-08 1:27 
AnswerRe: Client-Server program Pin
Jijo.Raj28-Aug-08 2:39
Jijo.Raj28-Aug-08 2:39 
AnswerRe: Client-Server program Pin
Hamid_RT28-Aug-08 23:06
Hamid_RT28-Aug-08 23:06 
QuestionHaving problem in figuring out the logic (c++) Pin
raesa28-Aug-08 0:35
raesa28-Aug-08 0:35 
AnswerRe: Having problem in figuring out the logic (c++) Pin
Cedric Moonen28-Aug-08 0:49
Cedric Moonen28-Aug-08 0:49 
GeneralRe: Having problem in figuring out the logic (c++) Pin
raesa28-Aug-08 0:57
raesa28-Aug-08 0:57 
GeneralRe: Having problem in figuring out the logic (c++) Pin
Cedric Moonen28-Aug-08 2:04
Cedric Moonen28-Aug-08 2:04 
GeneralRe: Having problem in figuring out the logic (c++) Pin
raesa28-Aug-08 2:28
raesa28-Aug-08 2:28 
GeneralRe: Having problem in figuring out the logic (c++) [modified] Pin
oobimoo28-Aug-08 7:40
oobimoo28-Aug-08 7:40 
GeneralRe: Having problem in figuring out the logic (c++) Pin
raesa28-Aug-08 18:42
raesa28-Aug-08 18:42 
QuestionHow to get the time taken by function to complete its task? Pin
kapardhi28-Aug-08 0:32
kapardhi28-Aug-08 0:32 

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.