Hai ,
I am using onchar() to catch what key is pressed , i need to set one variable if an alphabet is pressed .
In onchar() , the value we got is character code , we can do checking with VK_A ..... VK_Z .. so 27 checking is needed , is there any ohter way like VK_A has HEX value 41 ...VK_Z has 5A so what i did is if( nChar>41 && nChar< 5A) then setting my variable but it is giving error like 'bad suffic format'
i know i am comparing UINT and hex but i don't know how to correct this
please help me.
bye