Programming Windows (Fifth Edition)
Last updated: 2001/3/7
Description
Displays the keyboard messages that are received for each key that
is pressed and released. Typically this is a WM_KEYDOWN, a WM_CHAR and
a WM_KEYUP but some keys, like shift, don't have the WM_CHAR.
Wine tests
- Ctrl, Shift, Alt and Caps Lock will not
auto-repeat unlike in Windows. Is it Wine or my X keyboard
configuration?
- The 'Windows' keys behave strangely.
- For some keys in Windows I get a black square
as the character (example, for tab). I don't get the same result in
Wine. This may be a font configuration problem.
- The message sequence that Wine generates when a
key is in auto-repeat mode is incorrect. In Windows one gets a series of
WM_KEYDOWN messages. The first one has the 'repeat' bit set to 0, and
all those that come after have it set to 1. Then when the key is released
the application gets a single WM_KEYUP message. In Wine the application
receives a successsion of WM_KEYDOWN and WM_KEYUP messages instead. Note
that this description is valid for a key like the down arrow key. If the
key generates characters, 'a' for instance, then these messages streams
are interspersed with WM_CHAR messages. But the principle remains the
same. Unfortunately this seems to be caused by the way X works. See
bug
#39
- I get a slightly corrupted display when scrolling
fast. See the screenshot
- The rest is fine, the messages seem to match those of Windows.
Winelib tests
Last updated: 2001/2/26
Description
Same as KeyView1 but knows how to handle changes in the keyboard layout
and adjusts the font accordingly.
Wine tests
- Same as KeyView1.
- I'm not sure how the keyboard layout notification works in Wine.
Winelib tests
Last updated: 2001/2/26
Description
Displays all the characters of the stock fonts. Use the arrow keys
to go from one font to the next.
Wine tests
- The fonts for OEM_FIXED_FONT and SYSTEM_FONT
does not have the same graphical characters as on Windows.
- Some other fonts are different but only in their 'not implemented'
characters (the uggly black or hollow squares).
Winelib tests
Last updated: 2001/2/26
Description
Adds a keyboard interface to SysMets3.
Wine tests
- When reducing the width so that the horizontal scrollbar appears
we see the usual resize lag problem.
Winelib tests
Last updated: 2001/2/26
Description
Opens a very simple text editor. The window contains nothing but a
zone where you can type text.
This is no standard editor though. It's more like an editor allowing
you to modify the contents of each element in a bi-dimentional character:
it's all in overwrite mode, you cannot go past the end of a line using
the arrow keys although if you keep typing you will go to the next line
automatically. Also if you type past the bottom right corner of the
window you will be transported back to the top left corner and if you
resize the window is contents will be wiped out. Backspace does work though.
Wine tests
Winelib tests