Hi all,

I¹m using RB2007r2 on both OS X and Windows XP for a project.

I¹ve got a window that has nothing on it but a statictext and several
canvas-based controls. The canvas controls all have AcceptFocus set to
False, though from what I gather, this property only applies to Macintosh.

I¹m using the Window.KeyDown event to trap keystrokes which I use to then
update the display of the canvases.

This works fine on OS X, but on Windows, keystrokes don¹t seem to have any
effect at all. It's as if the Window.KeyDown event isn't even firing. In
another application, I get incessant beeping from keystrokes in Windows, but
in a cruel twist of fate, I¹m not even getting *that* in this app. :)

I¹ve tried using WindowName.SetFocus, to make sure that the window's KeyDown
handler is what's handling the keystrokes, but that doesn¹t seem to help.

Does anyone have any idea what I¹m doing wrong, or where I can look to solve
this problem?

Windows seems to have bizarre issues with keyboard input in general, and I'm
having a lot of trouble wrapping my head around how to handle them.

Thanks in advance!


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to