How do i?
-
I'm creating a simple calculator.. so my calculator has only a textbox, it doesnt have any buttons so the user communicates with the calculator using the keyboard... so what i did is to enable the preview key down of the form and on the event of the key down, the computer is able to get the values entered from the keyboard. The problem with key down is that it only works if it has focus on the control or the form... but what i want is that even though the focus is not on the form or lets say the focus is on another application, how do i get my program to still get the keyboard values entered by the user?
-
I'm creating a simple calculator.. so my calculator has only a textbox, it doesnt have any buttons so the user communicates with the calculator using the keyboard... so what i did is to enable the preview key down of the form and on the event of the key down, the computer is able to get the values entered from the keyboard. The problem with key down is that it only works if it has focus on the control or the form... but what i want is that even though the focus is not on the form or lets say the focus is on another application, how do i get my program to still get the keyboard values entered by the user?
So if I'm typing in Notepad it would also be entered in your calculator? http://mail.gnome.org/archives/gtk-app-devel-list/2006-October/msg00255.html[^] http://forums.msdn.microsoft.com/en-US/netfxbcl/thread/e78c47c9-5747-4de7-8326-1604e722bd31/[^]
-
So if I'm typing in Notepad it would also be entered in your calculator? http://mail.gnome.org/archives/gtk-app-devel-list/2006-October/msg00255.html[^] http://forums.msdn.microsoft.com/en-US/netfxbcl/thread/e78c47c9-5747-4de7-8326-1604e722bd31/[^]
-
yeah cause you know i'm doing like a computation while looking at the values at the other application and dont like doing the short cut keys using alt+tab or keep on clicking the calculator just to enter values. specially if its in full screen mode.
You have me imagining an applet that's always minimized and displays the calculation its caption.
-
You have me imagining an applet that's always minimized and displays the calculation its caption.