Commit Graph

1047 Commits

Author SHA1 Message Date
Chris Morgan 7030c5f78a Reduce toolbar redrawing and flicker by calling RedrawWindow() in
TOOLBAR_MouseMove() only if hot effect applies to the current hot
button.  Restore bHot flag of hot button in TOOLBAR_LButtonUp() to
restore hot effect properly.
2000-05-23 21:11:06 +00:00
Aric Stewart 9700b7fa55 Corrected a problem of when oldHit is negative and we try to use it as
an index into the buttons array.
2000-05-23 04:10:45 +00:00
Lionel Ulmer 75f98cfc4c Remove the PRIMARYSURFACE attribute from back buffers. 2000-05-23 04:03:48 +00:00
Aric Stewart 9a3dd5b249 If a listview is created with LVS_NOCOLUMNEHEADER then wine creates the
header like normal but just sets it not visible. This fix lays out
those supposedly nonexistent headers to size 0,0. So that even if they
become visible they are not drawn.
2000-05-23 01:24:24 +00:00
Gerard Patel 85f5832bad Remove the direct call into core (DIALOG_DoDialogBox). 2000-05-23 01:22:35 +00:00
Lionel Ulmer 79457d818c Initialize the back-buffer with the correct VTable. 2000-05-23 01:21:47 +00:00
Lionel Ulmer 7e5c2c042a - added option to get double-buffered desktop
- implemented wglUseFontBitmapsA and wglDeleteContext
2000-05-23 01:20:08 +00:00
Peter Hunnisett 7f84723bba - Small fixes/updates
- Add support for the DPCONNECTION_DIRECTPLAYLOBBY flag
2000-05-23 01:16:36 +00:00
Chris Morgan 9a171b8e3e Update nItemWidth in LISTVIEW_SetItem() if LVS_LIST or LVS_SMALLICON
mode and item text is wider than the current nItemWidth.
2000-05-19 03:44:46 +00:00
Uwe Bonnes 1c1e125349 StgOpenStorage16: correct arguments to the CreateFile call. 2000-05-19 03:38:22 +00:00
Francois Gouget 7b217a67f5 Replace the calls to malloc by calls to HeapAlloc and friends. 2000-05-19 03:37:21 +00:00
Aric Stewart cbf9395a66 Fixes the line of garbage at the bottom of images and the fact that
the buttons in the open dialog box where too tall.
2000-05-19 03:36:53 +00:00
Dimitrie O. Paun 525e646814 Moved if1632/ole2{conv,prox,thk}.spec into dlls/ole32. 2000-05-19 03:35:58 +00:00
Patrik Stridvall e4174d5d57 GetRelAbs for some reason takes 2 parameters, even though the second
one is ignored at least on Windows NT 3.51 according to Marcus Meissner.
2000-05-18 00:51:52 +00:00
Patrik Stridvall c654c7edcb Fixed issues found by winapi_check. 2000-05-18 00:07:53 +00:00
Francois Gouget 244ad84f50 Convert C++ comments to regular C comments. 2000-05-18 00:05:10 +00:00
Ove Kaaven 561895a937 Made IDirectDrawSurface::SetPalette set the surface's DIBSection color
map to point to the IDirectDrawPalette's own depth conversion color map.
2000-05-18 00:04:10 +00:00
Ove Kaaven 9d0abdbcca Initialize an identity mapping in CreatePalette if no depth conversion
is necessary. Also fixed a warning.
2000-05-18 00:03:36 +00:00
Alexandre Julliard 8e3e6b5452 Make sure all Wine processes share the same X display.
Inherit --managed option across processes.
Add support for specifying display and managed mode in config file.
2000-05-15 02:46:44 +00:00
Ove Kaaven d8ba1268b4 Use unsigned int instead of unsigned short in DirectDraw
depth-conversion color map.
2000-05-15 02:34:41 +00:00
David Black 2b44191367 Implemented TVM_EDITLABELA, plus some improvements to EndLabelEditNow. 2000-05-14 23:50:00 +00:00
Andreas Mohr 7aa70d3397 More verbose errors. 2000-05-14 23:45:03 +00:00
Dimitrie O. Paun 81eafedaf1 Moved DDEML into dlls/user. 2000-05-14 23:34:41 +00:00
Alexandre Julliard a01004d828 Added support for registry values larger than the server buffer.
When loading a registry file, automatically determine overlap between
key name and file contents based on the first key name.
Removed v1 saving code.
Save USER\.Default separately into ~/.wine/userdef.reg.
2000-05-14 22:57:57 +00:00
Ove Kaaven 270c9fb109 Improved DIBSection support for IDirectDrawSurface::GetDC. 2000-05-14 22:53:51 +00:00
Lionel Ulmer 61e4283585 - set debug messages after a TRACE_ON test
- prevent crash when making the NULL context current
2000-05-14 22:53:17 +00:00
Peter Hunnisett 8c735b9bdb - Added ability to create 3D3 interfaces for Xlib
- Changed DD_OK to D3D_OK in some places for consistency
- Cleaned up some compiler warnings present without DGA2
- Changed order for DirectDrawEnumerateExA to enumerate at least
  what abilities are known rather than bailing on unsupported flags
- Added DirectDrawCreateEx stub
2000-05-13 01:28:49 +00:00
Lionel Ulmer bedf40b58b Added support for OpenGL. 2000-05-12 20:18:14 +00:00
Eric Pouech 6f93bb4fea Fixed absolute path to pidl generation. 2000-05-12 20:12:13 +00:00
Alexandre Julliard 70eabdedd5 Fixed buffer overflow. 2000-05-11 21:49:54 +00:00
Patrik Stridvall b905023c74 Fixed some debug messages. 2000-05-11 21:48:28 +00:00
Patrik Stridvall 5ca73ac93a Fixed issues found by winapi_check. 2000-05-11 21:46:51 +00:00
Eric Pouech 3de3cad9ce Fixed division by zero. 2000-05-11 21:42:52 +00:00
Eric Pouech 051cccee06 Fixed some quirks (range is 32 bit, page up/dn mismatch on HZ trackbars). 2000-05-11 21:42:12 +00:00
Ken Thomases da2cd4d070 Implemented tab control style TCS_HOTTRACK (tabs are highlighted on
mouse-over).
2000-05-11 21:40:36 +00:00
Aric Stewart 031793e7f9 Remove the background from the new image when it is being replaced
with a ReplaceImage.
2000-05-11 21:39:45 +00:00
Alexandre Julliard 077239414e Jean-Claude Batista
PrintDialog now creates a DC when receiving a PD_RETURNDC flag.
2000-05-11 00:09:29 +00:00
Aric Stewart 0406a08cdc Clean up the drawing code after a label update. There were problems if
the new label is shorter that the old label fragments of the old label
were left drawn.
2000-05-11 00:07:44 +00:00
Alexander Frink 84c28fc1b1 Prevent possible NULL pointer access. 2000-05-11 00:04:36 +00:00
Aric Stewart ebf34ae4ba Allow the user to cancel label editing with esc and confirm with return. 2000-05-10 21:53:19 +00:00
Ken Thomases f9e280aab3 Restore accidentally undone changes. 2000-05-10 21:42:53 +00:00
Aric Stewart f7a51e1e3a - Wine was not properly reporting back the edited label to the
application in a treeview when the label is a callback.
- Because windows applications assume they get a new edit control
  every time they often subclass that edit box willy-nilly and do not
  clean up. So it is necessary to actually give them a new edit control
  each time.
2000-05-10 21:42:21 +00:00
Aric Stewart 035245c873 - Cleaned up some of the drawing code, specifically dealing with
avoiding trying to draw invalid bitmaps.
- Avoid directly calling drawing functions instead invalidating rects
  and relying on WM_PAINT.
- For the dropdown event check the button style as opposed to the
  toolbar style.
2000-05-10 21:40:49 +00:00
Eric Pouech 8cfea6e292 Make internal buffers size multiple of 4. 2000-05-10 21:39:24 +00:00
Alexandre Julliard 8c8237b756 Specify the service thread timers in ms instead of us. 2000-05-10 04:43:32 +00:00
Gerard Patel a1b2fc2a80 Protect against use of comctl32 private control memory after it has
been freed.
2000-05-10 01:34:53 +00:00
Aric Stewart 7b6ed869db Some programs switch their status bar back and forth from simple mode
while running. This fix corrects drawing and text setting problems that
result from this behavior.
2000-05-10 01:33:20 +00:00
Eric Pouech a1894523b4 Changed WAVEHDR notification heuristic.
Added preliminary support for loops in WAVEHDRs.
Fixed issues when mixing open and getCaps calls.
2000-05-09 22:35:47 +00:00
Aric Stewart 8ee3144a77 Added the ability to use multiline tab controls to wine. 2000-05-09 22:33:48 +00:00
Marcus Meissner b7ed6df279 Number of surface Lock/Unlocks must NOT match, so do NOT use it for
reference counting.
2000-05-09 22:33:12 +00:00