ASCII Codes :S


[ DelphiLand FAQ ]

Posted by Joey p12386 on September 12, 2004 at 00:45:35:

I'm using the application event component and the OnMessage event of it. The code i am using is:

if (Msg.message = WM_KEYDOWN) then
ShowMessage(Chr(Msg.wParam));

But why does this give me all my chars in UPPERCASE letters? I don't have Caps Lock on but yet i still get passed the ASCII Codes for the captials :S Why does this happen??

Thanks ;)

Joey ^__^


Related Articles and Replies


[ Delphi Forum -- by DelphiLand ]