From: B.S on 12 Jan 2010 10:13 Hi all, i am writing little game and i wonder how to get whan 2 buttons are pressed, lets sey 'D' and 'SPAICE' sory for my bad english,
From: Christian ASTOR on 12 Jan 2010 13:41 On 12 jan, 16:13, "B.S" <giobs...(a)gmail.com> wrote: > Hi all, i am writing little game and i wonder how to get whan 2 > buttons are pressed, lets sey 'D' and 'SPAICE' > sory for my bad english, GetKeyState() or GetAsyncKeyState()
From: B.S on 13 Jan 2010 05:20 > GetKeyState() or GetAsyncKeyState() and how to get whan 2 key are pressed
From: Ron Francis on 13 Jan 2010 06:26 "B.S" <giobs111(a)gmail.com> wrote in message news:027708b9-21ee-4c17-9d22-26f760a7d249(a)34g2000yqp.googlegroups.com... >> GetKeyState() or GetAsyncKeyState() > > and how to get whan 2 key are pressed B.S, Read up on those functions as they tell you what keys are being pressed. "The GetAsyncKeyState function determines whether a key is up or down at the time the function is called" You just have to check for the keys that you are interested in. Ron.
|
Pages: 1 Prev: Returning lots of data from DLL function Next: question about files creation and access |