While trying to write a simple game which uses the arrow
keys, I noticed that under the subroutine that handles
mybase.keydown, everytime I pressed any arrow keys, or in
fact any of the 9 keys above it (End, Del, PGDN etc) that
the result for e.keycode was 'none', yet it still picked
up my keypress! All other keys work fine. This problem
only recently happened. I have tried the following to
help: Roll back to D.X 9.0a and 9.0 SDK, remove SDK
altogether, Remove and reinstall VB.NET 2002,
progressively applying each update from msdn. Trying
previous versions of my BIOS, all to no avail. This
problem even somehow manages to show up in Return to
Castle Wolfenstein, where the same keys in question are
registering as shift! This problem does not seem to occur
in Unreal Tournament '99 though. I'm really stumped by
this one, and I would like to get rid of it so I can
continue to write ANY program that will use arrow keys!
Interestingly, any program that I wrote BEFORE this
problem occurs which is run through the IDE -> DOES NOT <-
have the same problem, BUT, the e.keycode values are
still nothing, but the subroutine magically runs itself
twice, and the second time, despite still having an
e.keycode value of 'none' it this time performs the
correct action?!!???!! Please help! 0 3267 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Bob |
last post by:
well i pretty much said it in the title.
i was wondering how would you make a picture box or an object repond
to the arrow keys.
for example i have a picture and i want to move right when i press the
right arrow on my keyboard. what is code for that?
if anyones knows the code please answer.
|
by: Lachlan Hunt |
last post by:
Hi,
I've been looking up lots of documentation and trying to work out a
cross-platform method of capturing a keyboard event and working out
which key was pressed. From what I can find, there doesn't appear to be
any standardised keyboard event interface other than this DOM 3 Events
W3C Working Group Note . However, it is only a note and doesn't
appear to be implemented in any browser. Is there another standard that
I've missed?
The...
|
by: skipc |
last post by:
Hi,
I am stuck... I've got a popup window that displays a list in table
format with links on the bottom to navigate the list <prev> 1 2 3 ...
<next>
When I demo'd to the users... they immediately asked if they could use
the arrow keys and enter key to navigate the list. I think there must
be a way to do this, but I can't figure it out.
|
by: Richard Coutts |
last post by:
I have a Continous Form with 5 or so fields for each record, in a line
from left to right. Because the Contuous Form lists several records
at once, the form looks pretty much like a Datasheet. So, I'd like to
be able to navigate it like one when using the up/down/left/right
arrow keys of the keyboard. I have the fields set with tab stop
settings so that hitting the tab key moves one field to the right.
The problem I'm having is when I...
|
by: nx-2000 |
last post by:
I've got a very large C# forms app and now that its being used in
bigger environments we're getting a steady stream of "why does it do
this?" problems. The most nagging of which right now is that when a
MessageBox.Show() is displayed, if the user hits enter or esc, those
keys get passed back to the form. From searching online, this is
apparently by design(for whom, I don't know, why its not optional, I
_really_ don't know). This...
| |
by: Paul Nathan |
last post by:
While trying to write a simple game which uses the arrow
keys, I noticed that under the subroutine that handles
mybase.keydown, everytime I pressed any arrow keys, or in
fact any of the 9 keys above it (End, Del, PGDN etc) that
the result for e.keycode was 'none', yet it still picked
up my keypress! All other keys work fine. This problem
only recently happened. I have tried the following to
help: Roll back to D.X 9.0a and 9.0 SDK, remove...
|
by: Martijn Mulder |
last post by:
/*
I have problems detecting the Arrow Keys on a User Control. A control
derived from System.Windows.Forms.Control neglects 'bare' Arrow Keys
but does react on the combination <Altor <Ctrl+ Arrow Key. The code
below shows what I mean. How can I cure this? (excuse me for the line
breaks)
*/
|
by: Brice Rebsamen |
last post by:
Hi
I wrote the following program that reads the keyboard in medium raw
mode (keycode mode). Here is the initialization code, the full code is
at the end.
fd = open("/dev/tty0", O_RDONLY);
tcgetattr ( fd, &newkbd );
newkbd.c_lflag &= ~ (ECHO | ICANON | ISIG);
newkbd.c_iflag = 0;
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
| |
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |