It is because getmessage isn't going to work because you have no windows at all. You need a window. Are you trying to get keys from other windows that don't belong to your thread?
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 7 of 7
Threaded View
|
Click Here to Expand Forum to Full Width |