Click here to Skip to main content
15,881,172 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Owner drawn ListBox problem Pin
Manmohan2921-Mar-10 7:04
Manmohan2921-Mar-10 7:04 
GeneralRe: Owner drawn ListBox problem Pin
«_Superman_»21-Mar-10 7:10
professional«_Superman_»21-Mar-10 7:10 
GeneralRe: Owner drawn ListBox problem Pin
Manmohan2921-Mar-10 7:27
Manmohan2921-Mar-10 7:27 
GeneralRe: Owner drawn ListBox problem Pin
Manmohan2921-Mar-10 8:06
Manmohan2921-Mar-10 8:06 
AnswerRe: Owner drawn ListBox problem Pin
Luc Pattyn21-Mar-10 11:18
sitebuilderLuc Pattyn21-Mar-10 11:18 
QuestionOpenGL Pin
MrMcIntyre21-Mar-10 4:45
MrMcIntyre21-Mar-10 4:45 
AnswerRe: OpenGL Pin
Richard MacCutchan21-Mar-10 6:09
mveRichard MacCutchan21-Mar-10 6:09 
QuestionGetAsyncKeyState() and GetKeyState() [Solved] Pin
Rozis21-Mar-10 2:05
Rozis21-Mar-10 2:05 
Can anyone give me the precise difference between

GetAsyncKeyState(vk_shift) and GetKeyState(vk_shift) ?

I can and did read the explainment of MS, but i guess i still don't get it. In my apps i use

GetAsyncKeyState(vk_shift)!=0

to find out if the shift-key is pressed. Should i use GetKeyState() instead and if yes, why? And could you give me an example of how to check the shift key with that one.

If no, where is GetKeyState() then good for? Can you give an example of its use?

Thanks
AnswerRe: GetAsyncKeyState() and GetKeyState() Pin
CPallini21-Mar-10 2:48
mveCPallini21-Mar-10 2:48 
GeneralRe: GetAsyncKeyState() and GetKeyState() Pin
Rozis21-Mar-10 3:12
Rozis21-Mar-10 3:12 
GeneralRe: GetAsyncKeyState() and GetKeyState() Pin
CPallini21-Mar-10 3:23
mveCPallini21-Mar-10 3:23 
GeneralRe: GetAsyncKeyState() and GetKeyState() Gathered answers [modified] Pin
Rozis21-Mar-10 4:23
Rozis21-Mar-10 4:23 
AnswerRe: GetAsyncKeyState() and GetKeyState() Pin
Adam Roderick J21-Mar-10 4:53
Adam Roderick J21-Mar-10 4:53 
GeneralRe: GetAsyncKeyState() and GetKeyState() Pin
Rozis21-Mar-10 5:08
Rozis21-Mar-10 5:08 
GeneralRe: GetAsyncKeyState() and GetKeyState() Pin
Adam Roderick J21-Mar-10 6:11
Adam Roderick J21-Mar-10 6:11 
GeneralRe: GetAsyncKeyState() and GetKeyState() Pin
Rozis21-Mar-10 10:44
Rozis21-Mar-10 10:44 
GeneralRe: GetAsyncKeyState() and GetKeyState() Pin
Adam Roderick J21-Mar-10 22:01
Adam Roderick J21-Mar-10 22:01 
AnswerRe: GetAsyncKeyState() and GetKeyState() Pin
Avi Berger21-Mar-10 5:21
Avi Berger21-Mar-10 5:21 
GeneralRe: GetAsyncKeyState() and GetKeyState() Pin
Rozis21-Mar-10 10:58
Rozis21-Mar-10 10:58 
QuestionGetKeyboardState + iexplore Pin
cjsc20-Mar-10 11:28
cjsc20-Mar-10 11:28 
AnswerRe: GetKeyboardState + iexplore Pin
«_Superman_»20-Mar-10 16:45
professional«_Superman_»20-Mar-10 16:45 
AnswerRe: GetKeyboardState + iexplore Pin
Avi Berger20-Mar-10 18:06
Avi Berger20-Mar-10 18:06 
AnswerRe: GetKeyboardState + iexplore Pin
Rajesh R Subramanian20-Mar-10 23:15
professionalRajesh R Subramanian20-Mar-10 23:15 
GeneralRe: GetKeyboardState + iexplore Pin
cjsc22-Mar-10 8:59
cjsc22-Mar-10 8:59 
GeneralRe: GetKeyboardState + iexplore Pin
cjsc25-Mar-10 10:42
cjsc25-Mar-10 10:42 

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.