For some reason, the event listener I define never seems to receive any events, although I believe it should. Here's a very short description of the MXML code I'm using:
WindowedApplication
VBox (root box)
MenuBar
TabNavigator
VBox (first tab)
Canvas
VBox (second tab)
If I ad...
I am searching for a multi-lingual keyboard api or plugin which I can embed in my web app. If the plugin in jquery then its better, caz I am already using jQuery library.
I want keyboard like (or better) than the keyboard that www.shabdkosh.com has. On shabdkosh.com home page, there is a link "key" with the search button, click on the l...
After reading Jeff's review of Microsoft's Natural Ergonomic Keyboard 4000. I decided to get one. It comes with this really nice Instant Viewer feature that it assigns to the middle button of your mouse. Not wanting to lose my middle button "open in new tab" function. I wanted to assign it to the keyboard. I'v looked at task manager when...
The key up event gets triggered when a key is released. This holds true for normal keys like a, b etc. However, holding down the arrow key or escape key produses different results.
Instead of firing a key up event when the key is released, it gets fired soon after the key down event. So, holding down a arrow key becomes equal to pressing...
I know there are only a few CAA Programmers in the world but I try it anyway...
I can't get keyboard events to work. I found this code which looks reasonable but the Notification doesn't fire.
AddAnalyseNotificationCB(CATFrmLayout::GetCurrentLayout()->GetCurrentWindow()->GetViewer(),
CATKeyboardEvent::ClassName(),
(CATComma...
I purchased a wireless Logitech Wave mouse/keyboard combo and want to use it with my old PS2 KVM. I've seen a few converters out there that might work, but the problem is they connect one USB-> one PS2. I need something that will split one USB into two PS2 (keyboard and mouse), as that's what the KVM expects to have plugged in. Help!
...
In my web app, I use the onkeydown event to capture key strokes.
For example, I capture the 'j' key to animate a scroll down the page (and do some other stuff meanwhile).
My problem is the user might keep the 'j' key down to scroll further down the page (this is equivalent to fast multiple key strokes).
In my app, this result in a s...
I have a problem, I have an application which has a toolbar icon to launch the system onscreen keyboard. This all works fine with the exception of Windows Vista and Windows 7 beta. The UAC appears to be getting in the way and preventing the osk.exe from running.
I have read that because it is used on the logon screen it will not promp...
Hi all!
I have a problem so strange that I hardly can put an adequate title to it.
In short: I have COM object written in MSVC++/MFC with a dialog derived from CDialog. On that dialog I have three child "user controls" - windows derived from plain CWnd.
When I use this COM object from a variety of places, everyhing works as I expect. ...
Is there a way / app / registry tweak, on Vista, to have the row of numbers above the keyboard to always be shifted?
I am having little finger issues, so I would like to be using the numeric keypad for typing numbers, and not be constantly holding down the shift key for typing !"£$%^&*()
...
In a KeyDown event, I have the KeyEventArgs to work with. It has (among other things) these three properties:
e.KeyCode
e.KeyData
e.KeyValue
Which one should I use for what?
...
I want to activate a search textbox when the user starts to type something (even if the textbox isnt focused right then). I have come as far as setting KeyPreview on the form to true. Then in the KeyDown event handler, I have this:
if(!searchTextBox.Focused)
{
searchTextBox.Focus();
}
This almost works. The textbox is focused, but...
G'day all,
I have a console project where it is intended the user presses the keyboard direction keys (non-numeric keypad) to move an avatar. I am having difficulty coding to check for the press of these keys. In Pascal it was easy enough to use "readkey" and code, for example, for #80 for the down keypress. However, I am stumped how t...
Hello,
I have this code
procedure TForm1.Edit1KeyDown(Sender: TObject; var Key: Word; Shift: TShiftState);
var
begin
if not (Key in [Ord('0')..Ord('9')]) then
Key := 0;
end;
and it worked fine with Delphi 2007. When I upgraded to Delphi 2009 and I try to press any letter it is accepted and the Key := 0 does not trap the input?
...
G'day all,
After learning on here that the Java console doesn't support keyboard input a great deal, I switched to Swing and AWT. My problem now is how to detect when the keyboard direction keys (non-numeric keypad) are used. My code (below) does not do more than print a "small box" character when pressing the down, up, left, right key...
Hi! Recently I've been more concerned about the way I sit while I code, I don't think I have any kind of injury yet but one of my coworkers had to take a couple of days off because of his column and I began to worry about this.
So, how do you sit? how do you place your hands? Do you recommend any keyboard in special? any chair? I have b...
A friend was having trouble figuring out how to assign "Ctrl + +" as a shortcut key to a ToolStripMenuItem. I pointed out that the Keys.OemPlus key would work and the display string for the shortcut needed to be set, but the Keys enumeration mystifies me.
What's the deal with these "OEM" keys? I've done a little searching and it seems...
I want to program a key on my keyboard to paste certain static text when pressed.
For instance, I'd like to program the F12 key so, when pressed, it pastes my email address every time. Is there an easy way to do this?
...
Is the a programmatic way (or something more simple) to map some keyboard key to the same action windows-wide as the left mouse button in Windows XP / Vista. If programmatic is there a way to do this in .NET 2.0 (or greater)?
...
I'm looking for some code (preferably C#) that will prevent keyboard and mouse input.
...