A free Windows-compatible Operating System - mirrored from GitHub
Go to file
Colin Finck a8253264f5 kbswitch:
- Revert some changes from r33106:
    * Set the size of szTempLCID back to CCH_LAYOUT_ID + 1, a layout ID mustn't be longer than this.
      As we pass the correct size to the Registry functions as well, there can be no buffer overflow.
      MAX_PATH was probably used here, because input.dll had a bug as well, so that it saved the layout ID with the wrong length.
    * Use wsprintf over _stprintf
    * Pass the correct value to dwBufLen (in bytes, not in TCHAR's!)
- Add back SystemParametersInfo, so that the system gets to know about the keyboard layout change.
  EnumWindows is still used for setting the new keyboard layout to all existing Windows.
- Don't show a different menu for left and right clicks, that's not how most popup menus work under Windows.
  Instead append all menu items from the menu template to the popup menu.
- Call SetForegroundWindow before and post a WM_NULL message after calling TrackPopupMenu, so that the popup menu will be closed, when the user clicks somewhere else
- Fix indentation

input.dll:
- Fix some incorrect lengths passed to other functions
- Get rid of some unneeded variables
- Always use the 32-bit Registry functions over the old 16-bit deprecated ones
- Fix some other stuff here and there

svn path=/trunk/; revision=33130
2008-04-24 17:57:48 +00:00
irc Fix the build. 2008-03-08 11:08:52 +00:00
reactos kbswitch: 2008-04-24 17:57:48 +00:00
rosapps - directory.rbuild in rosapps should be alphabetically sorted, so move drivers to its respected place. 2008-04-20 20:54:06 +00:00
rostests add small help text and file dump from win32kdxtest 2008-04-19 07:21:03 +00:00
wallpaper Re-add the "lake.bmp" wallpaper inclusion (partly imported from the deleted 0.3.1 branch, r26044) 2007-06-21 15:23:49 +00:00