Commit Graph

1369 Commits

Author SHA1 Message Date
Francois Jacques 133d70788a - removed unnecessary recursion
- upon query failure on main primary lcid and secondary lcid,
  attempts a query on system lcid (0)
2000-08-22 20:51:55 +00:00
Marcus Meissner 8c5df7b55d Fixed some warnings. 2000-08-22 20:40:47 +00:00
James Abbatiello ba0a533669 Don't crash when calling DirectDrawSurface::EnumAttachedSurfaces on a
surface with no attached surfaces.
2000-08-22 20:38:00 +00:00
James Abbatiello dbdd94ba4b Allow FormatMessage to load Unicode string resources. 2000-08-22 20:37:44 +00:00
Aric Stewart 59dae22a43 Beginning of some simple optimization of the listview
drawing. Specifically it reduces flicker when selection changes.
2000-08-21 20:16:53 +00:00
Uwe Bonnes fb2f84ec20 Call WriteOutProfiles16 to make sure that last profile gets written. 2000-08-21 03:33:31 +00:00
Gerard Patel f314e5e76b Disable the owner of a modal dialog box just before creating the
dialog window.
2000-08-21 03:31:39 +00:00
Kai Morich 0ad7874bec Fixed bug in repeatedly iconisation, code cleanup. 2000-08-20 18:48:37 +00:00
Chris Morgan afe9bb814d Implemented DuplicateIcon(). 2000-08-20 18:48:05 +00:00
Chris Morgan 33b668095b Removed direct calls to TREEVIEW_Refresh(). 2000-08-20 03:40:21 +00:00
Alexandre Julliard 2a2321bbca Authors: Alexandre Julliard <julliard@codeweavers.com> (for Corel), Albert den Haan <albertd@corel.com>
Added syslevel locking for GDI operations.
Propagate the changes through the graphics code.
2000-08-19 21:38:55 +00:00
Marcus Meissner 61cb6ca9fc Fixed STATUS_GetTextW in regard to NULL pointers. 2000-08-18 23:44:12 +00:00
Ed Snow 909b677e83 Clean out the hack on BASS/TREBLE and suppress them in the mask as was
recommended oh so long ago.
2000-08-18 23:42:43 +00:00
Chris Morgan 9f5a8b00c0 - Added a helper function TOOLBAR_GetText() and macro TOOLBAR_HasText() to
determine whether we need to call InvalidateRect() with bErase of TRUE or
  FALSE.  Reduces background erases in non-text toolbars by 80-85%.
- Fixed button state not being updated properly when LBUTTONDOWN and cursor
  leaves the toolbar.
- Removed FIXME() in TOOLBAR_DrawString for btnPtr->iString == -1, replaced
  with a source code comment.
- Removed unecessary call to TOOLBAR_CalcToolbar() in
  TOOLBAR_GetItemRect().  Optimized TOOLBAR_CalcStrings(). Fixes very
  slow responding toolbars in Ultraedit due to processing TB_GETITEMRECT
  messages.
- Optimized TOOLBAR_SetIntent(), SetRows() and SetStyle().
2000-08-18 23:42:03 +00:00
Gerard Patel e3bd8d0adf Turns the handling to pure 16 bits, remove references to dialog.h. 2000-08-18 23:05:44 +00:00
Albert den Haan 343dd1a1b9 Remove unused critical section global variable PRINT32_RegistryBlocker. 2000-08-18 23:04:12 +00:00
Gerard Patel 7a50e6bb26 Avoids changing 2 levels when clicking .. in the directory list. 2000-08-18 23:03:44 +00:00
Chris Morgan eca7f9fc71 Stubbed SetConsoleInputExeNameA/W. 2000-08-18 23:03:22 +00:00
Gerard Patel c4bf3a6bbe WM_GETFONT should return a real font handle instead of NULL. 2000-08-18 22:25:46 +00:00
Niclas Karlsson MATE b44af64d30 Implemented ACS_CENTER for animation controls. 2000-08-16 12:53:43 +00:00
Francois Methot 587cc122dc Implemented background transparency on animation control for avi
composed of 8 bpp(or less) image. I added support for 8 bpp or more,
but it has not been tested.
2000-08-16 12:44:52 +00:00
Louis Philippe Gagnon aa04597a91 While dragging, catch keyboard messages between WM_KEYFIRST and
WM_KEYLAST, not just WM_KEYFIRST.
2000-08-16 12:44:04 +00:00
Peter Ganten 391466dd8b If a module cannot be found in LoadLibraryEx32W16, call LoadLibraryEx
anyway, since it might be a builtin module.
2000-08-16 12:43:42 +00:00
Marcus Meissner ce1dc56202 Missed the first character of every argument in CommandLineToArgv. 2000-08-16 12:43:17 +00:00
Gerard Patel aaaee1be84 Add an error message if devmode structure in registry is invalid;
attempt to provide plausible values.
2000-08-16 12:43:00 +00:00
Gerard Patel c987767760 Fix return value to 16 bits for 16 bit hook; remove leading space for
file specification.
2000-08-14 20:53:21 +00:00
Alexandre Julliard dcd247e55f Moved CharUpper* and CharLower* functions to dlls/user. 2000-08-14 17:39:15 +00:00
Niclas Karlsson MATE 0f9d56fde8 LPSTR_TEXTCALLBACK wouldn't work if the application supplied the item
text in its own buffer.
2000-08-14 17:17:57 +00:00
Alexandre Julliard e101f6db3b Cleaned up a few inter-dll dependencies. Added a few imports. 2000-08-14 14:42:41 +00:00
Alexandre Julliard c7e7df8b17 Replaced all lstr* calls from inside Wine code by their str* equivalent. 2000-08-14 14:41:19 +00:00
Alexandre Julliard d586dc99be Replaced VERSION_* calls by exported API equivalents. 2000-08-14 14:35:01 +00:00
Alexandre Julliard 198746d812 Replaced global Callbacks structure by appropriate glue code
generation. Removed a few unused entries in the Callout structure.
2000-08-14 14:29:22 +00:00
Aric Stewart 7db0384706 Fixed sending of LVN_ITEMCHANGING and LVN_ITEMCHANGED messages,
cleaned up some of the drawing, implemented the iIndent for LVS_REPORT
and fixed a problem where sub items where not being properly
associated with their item for virtual list views.
2000-08-11 21:14:23 +00:00
Alexandre Julliard c97bb4c5d6 Added Unicode ctype support. 2000-08-11 20:53:40 +00:00
Alexandre Julliard e5fe735d89 Moved NM_UPDOWN definition to commctrl.h. 2000-08-11 12:53:27 +00:00
Dmitry Timoshkov 1effe07983 Initialize lpstrInitialDir to really bogus value to restore original
value later.
2000-08-11 00:40:00 +00:00
Ove Kaaven 9723498034 Implemented fopen() append mode, and a really cheesy fscanf()
implementation...
2000-08-11 00:39:14 +00:00
Dmitry Timoshkov 407916e1a1 1. Make buffer for message large enough to hold very long file names.
2. Pass FORMAT_MESSAGE_ARGUMENT_ARRAY for FormatMessageA to not assume
   implementation specific behaviour.
3. Show actual message to user, not non-formatted one.
2000-08-11 00:38:44 +00:00
Alexandre Julliard 42d20f9dca Merged clipboard driver into USER driver.
Moved all ttydrv source files to dlls/ttydrv.
Load functions pointer for the USER driver from the graphics driver
dll with GetProcAddress.
2000-08-10 01:16:19 +00:00
Alexandre Julliard 5ab9d860f2 Removed some unnecessary #includes and dll dependencies. 2000-08-09 22:35:05 +00:00
Alexandre Julliard 4fef2f1917 Removed obsolete SHMDATA parameter in GLOBAL_CreateBlock. 2000-08-09 22:27:11 +00:00
James Hatheway 044d251980 - Avoid null-pointer exceptions by testing listnodes validity before doing
any work with those.
- TLB_ReadTypeLib now retrieves the length of the TLB and passes it to
  the TLB constructor which initializes TLBContext::length to that
  value.
- For non-standard pointed types, td[3] is always 0. I observed that
  the type is stored at td[2]/8 and not td[3]/8.
- Null-pointer exception occurs when GetRefTypeOfImplType is called on a
  type with no inherited interfaces. If the implemented types linked list
  is empty, set pRefType as 0 and return S_OK.
2000-08-09 22:24:04 +00:00
Huw D M Davies 363a75f63a Fix some remaining problems with tooltips. 2000-08-09 22:21:32 +00:00
Alexandre Julliard a007f3364a Moved a few non-standard headers into their respective dlls. 2000-08-09 00:54:58 +00:00
Alexandre Julliard 70c9e095ef Removed all non-standard common control headers from the include
directory.
2000-08-09 00:41:17 +00:00
Alexandre Julliard 691171b8e6 Small dll interfaces cleanups. 2000-08-08 20:49:16 +00:00
Aric Stewart 773efce76b Reworked how selections are kept track of in the list view. Selections
are now listed as a sorted range of paired integers.
2000-08-08 20:46:07 +00:00
Louis Philippe Gagnon 94f74144fd When unsubclassing tools, use toolPtr->hwnd instead of toolPtr->uId if
toolPtr->flags does not contain TTF_IDISHWND (meaning uId is not a
valid window handle).
2000-08-08 20:45:16 +00:00
Andreas Mohr eb38129297 Prevent endless looping in linebreak handling. 2000-08-07 17:09:58 +00:00
Marcus Meissner 9bc9f5e6df If we are looking for an existing pixmap format, we do not need the
same bitsperpixel (fixes depth 15/bitspixel 16 mode).
2000-08-07 17:09:37 +00:00