Commit Graph

203 Commits

Author SHA1 Message Date
Luc Tourangeau 296def268a GetIcon bug fix. 1999-07-18 13:25:31 +00:00
Alex Priem 23dc2e6a73 Fix a hang when we process WM_STYLECHANGED.
Small optimization in TREEVIEW_DrawItem.
Fix debugging crash in TREEVIEW_Expand.
1999-07-15 14:30:55 +00:00
Alex Priem b2e91b6a19 First try at the month calendar common control. Main features
basically OK.
1999-07-10 12:00:04 +00:00
Abey George 39b4e098b3 Sometimes the text on a tab control got truncated. 1999-07-10 11:35:20 +00:00
Alex Priem e5ea09c17f Implementation of TVM_SORTCHILDREN. Massaged TVM_SORTCHILDRENCB a bit
to use the same code path.
1999-07-10 10:19:48 +00:00
Marcus Meissner 623c0d6f94 some small include fixes, some checks for NULL ptrs,
loader/elf.c: fixed the "lib" insertion
crtdll: added fsopen()
dinput: return that we are attached.
1999-07-03 16:01:42 +00:00
Alex Priem 124b61904f Fix a crash when doing sorted inserts at top level. 1999-07-03 15:42:33 +00:00
Patrik Stridvall 1ed4ecffa8 ANSI C fixes.
Removed warnings.
Made the include files self-sufficient.
Some Solaris fixes.
1999-06-26 14:58:24 +00:00
Eric Kohl d37b0192c9 Fixed DPA_LoadStream and improved DPA_Merge. 1999-06-26 11:57:04 +00:00
Eric Kohl 04a7c56757 Added check for invalid parent item. 1999-06-26 11:55:56 +00:00
Eric Kohl 329a14b2c7 Store buddy window. 1999-06-26 11:51:28 +00:00
Eric Kohl a9e9def079 Started WM_NOTIFYFORMAT support. 1999-06-26 11:50:36 +00:00
Eric Kohl 88e9501004 Better ComboBoxEx placement. 1999-06-26 11:49:44 +00:00
Alexandre Julliard 74e77c27bd Authors: Chris Morgan <cmorgan@wpi.edu>, James Abbatiello <abbeyj@wpi.edu>
Fixed various problems related to bitmaps and flat toolbars.
1999-06-26 10:27:30 +00:00
Alexandre Julliard b73d53c0d4 Authors: Chris Morgan <cmorgan@wpi.edu>, James Abbatiello <abbeyj@wpi.edu>
Fixed problems with disappearing text.
1999-06-26 10:26:46 +00:00
Alexandre Julliard 3c1ebcceca Authors: Chris Morgan <cmorgan@wpi.edu>, James Abbatiello <abbeyj@wpi.edu>
Complete rewrite of messaging code to implement/fix all input behaviors.
Fixed a few fixmes.
1999-06-26 10:25:16 +00:00
Eric Pouech 13a30bace7 Thou shalt not use C++ comments. 1999-06-22 19:09:55 +00:00
Francois Boisvert 0e6f0618f5 Modified ImageList_LoadImageA to check the case where cx is set to zero. 1999-06-22 19:02:07 +00:00
Alexandre Julliard 75b217712f Authors: Chris Morgan <cmorgan@wpi.edu>, James Abbatiello <abbeyj@wpi.edu>
Implemented LISTVIEW_SortItems() and LISTVIEW_CallBackCompare()
1999-06-13 08:49:47 +00:00
Alexandre Julliard a79cc39ffa Authors: Chris Morgan <cmorgan@wpi.edu>, James Abbatiello <abbeyj@wpi.edu>
Fixes a problem when using STATUSBAR_SetText() to toggle SBT_OWNERDRAW
1999-06-13 08:46:30 +00:00
Alexandre Julliard 49080d3b59 Authors: Chris Morgan <cmorgan@wpi.edu>, James Abbatiello <abbeyj@wpi.edu>
Adds some undocumented behavior to TREEVIEW_GetItemA().
1999-06-13 08:40:45 +00:00
Alexandre Julliard a099a555c3 Converted to the new debug interface, using script written by Patrik
Stridvall.
1999-06-12 15:45:58 +00:00
Patrik Stridvall 9e61c1cc9b Changed xxx(VOID) to xxx(void). 1999-06-12 08:27:49 +00:00
Ian Schmidt 64eed99f8e Fixed an error and an off-by-one bug in DSA_SetItem(). This
eliminates some crashes with Win98 native SHELL32.
1999-06-12 06:48:49 +00:00
Luc Tourangeau 103a2ea356 ImageList_GetIcon bug fix. 1999-06-12 06:40:00 +00:00
Marcus Meissner c5ef0cedf9 Fixed >> and * operator precedence problem. 1999-06-07 17:40:39 +00:00
Ian Schmidt 6f456c2f02 Added partial implementation for DPA_LoadStream and stub for
DPA_SaveStream.  Thanks to Eric Kohl (ekohl@abo.rhein-zeitung.de) for
the partial implementation and parameter information.
1999-06-05 11:45:28 +00:00
Alexandre Julliard bbafc7a6a6 Authors: Chris Morgan <cmorgan@wpi.edu>, James Abbatiello <abbeyj@wpi.edu>
Fixed incorrect lookup of background color.
1999-05-29 14:16:56 +00:00
Alexandre Julliard 0df48785ef Authors: Chris Morgan <cmorgan@wpi.edu>, James Abbatiello <abbeyj@wpi.edu>
Fixed problems when using multiple style flags together.
1999-05-29 14:14:27 +00:00
Alexandre Julliard 00ced7b092 Authors: Chris Morgan <cmorgan@wpi.edu>, James Abbatiello <abbeyj@wpi.edu>
Fixed a problem when using string resources as tooltext.
1999-05-29 14:13:16 +00:00
Luc Tourangeau a6d833a552 - Reimplemented the scrolling using SetScrollInfo and GetScrollInfo.
- Implemented LVM_FINDITEM message.
- Added some new window styles.
- Fixed some bugs and extended a number of existing functions.
- Modified selection functions to support area selection (for group
  selection in LVS_ICON and LVS_SMALLICON).
1999-05-29 11:07:11 +00:00
Alexandre Julliard 37c07bc74c Authors: Chris Morgan <cmorgan@wpi.edu>, James Abbatiello <abbeyj@wpi.edu>
Cleaned up LISTVIEW_KeyDown by using LISTVIEW_GetNextItem.  Removed unused
variable in LISTVIEW_GetNextItem.
1999-05-24 08:06:39 +00:00
Alexandre Julliard dead0e1da0 Authors: Chris Morgan <cmorgan@wpi.edu>, James Abbatiello <abbeyj@wpi.edu>
LISTVIEW_KeyDown: Invalidate the listview window only when the
selected item changes.
1999-05-23 09:24:13 +00:00
Alexandre Julliard 6691fa81ed Authors: Chris Morgan <cmorgan@wpi.edu>, James Abbatiello <abbeyj@wpi.edu>
Cleaner null pointer check in HEADER_InsertItemA and HEADER_InsertItemW.
1999-05-22 15:59:09 +00:00
Alexandre Julliard 05237ebfd6 Authors: Chris Morgan <cmorgan@wpi.edu>, James Abbatiello <abbeyj@wpi.edu>
Implemented GetNextItem for the Listview control.
1999-05-22 15:57:16 +00:00
Marcus Meissner 9f3eb19a12 Removed use of win.h, sysmetrics.h and associated WINE USER internal
variables. Added missing infoPtr->Buddy = hwndBud; in updown.c
1999-05-22 11:22:36 +00:00
Eric Kohl 654ee2c132 Toolbar customization dialog (take one). 1999-05-22 10:52:31 +00:00
Marcus Meissner 4a3b0e3080 Fixed warning. 1999-05-08 18:28:13 +00:00
Marcus Meissner 3f284324a2 Pass PROPSHEETPAGE to propertypage dialog as lParam. 1999-05-08 15:38:57 +00:00
Patrik Stridvall 896889f317 ANSI C fixes. 1999-05-08 12:50:36 +00:00
Luc Tourangeau 3d35e9894c Removed the timer that was used to queue TRACKBAR_Refresh calls.
Removed all direct calls to TRACKBAR_Refresh (except from within the
WM_PAINT handling section) and replaced them by calls to
InvalidateRect.
Fixed a bug in the TRACKBAR_SetPos function.
Fixed the behavior for different types of mouse input.
1999-05-08 09:44:45 +00:00
Yuxi Zhang ccfb1824cd Implemented toolbar multirow button layout. 1999-05-08 09:40:55 +00:00
Francois Boisvert 06d4226171 Implementation of WM_GETTEXT and WM_GETTEXTLENGTH in tooltips. 1999-05-08 09:38:52 +00:00
Alexandre Julliard 06c275a643 Converted to the new debugging interface (done with the help of the
script written by Patrik Stridvall).
1999-05-02 14:32:27 +00:00
Alexandre Julliard b1ee0461d7 Authors: Chris Morgan <cmorgan@wpi.edu>, James Abbatiello <abbeyj@wpi.edu>
Fixed HEADER_InsertItemA and HEADER_InsertItemW null pointer checking
to handle wide character strings properly.  Fix of our previous patch
for null pointer checking.
1999-05-01 10:37:00 +00:00
Luc Tourangeau 739b97c2ff Removed some flickering when inserting or deleting buttons. 1999-05-01 10:30:53 +00:00
Alexandre Julliard eab73f89ec Authors: Chris Morgan <cmorgan@wpi.edu>, James Abbatiello <abbeyj@wpi.edu>
Fixed LISTVIEW_GetItemChanges() to perform a more complete comparison
between lpItem and lpLVItem.  Now compares the pszText string of the
lpItem and lpLVItem structs.  Fixes a bug where the old and new item
have the same attributes but their text differs and GetItemChanges()
compares them as equal.
1999-05-01 10:29:37 +00:00
Thuy Nguyen 93c68a7ed6 Added support for adding and removing pages dynamically from a
property sheet.
1999-05-01 10:27:05 +00:00
Patrik Stridvall a9a671d7ca Fixed ANSI compabillity. 1999-04-25 19:01:52 +00:00
Bertho Stultiens d1895a776c Built-in dlls now have resources attached via the PE-header like
normal dlls. This enables the use of the resource API.
1999-04-25 18:31:35 +00:00
Eric Pouech 38dcf8ecda Prevent crash when nMinRange > nMaxRange. 1999-04-25 10:59:46 +00:00
Alexandre Julliard bce73ad5b2 Authors: Chris Morgan <cmorgan@wpi.edu>, James Abbatiello <abbeyj@wpi.edu>
Implemented SetColumnWidth for ListView control.
1999-04-25 10:56:10 +00:00
Alexandre Julliard 60e414fb65 Authors: Chris Morgan <cmorgan@wpi.edu>, James Abbatiello <abbejy@wpi.edu>
HEADER_InsertItemA and HEADER_InsertItemW now treat null pointers to
text strings as null strings, as Windows does.  Fixes wine crash on
startup of CuteFTP.
1999-04-24 11:51:13 +00:00
Patrik Stridvall 0f8bc5b5c7 Fixed ANSI compabillity. 1999-04-22 16:27:50 +00:00
Noel Borthwick abefaa5dd2 Fixed bug with tooltips stealing focus whenever a tooltip was created,
shown, hidden or tracked. The SetWindowPos calls needed to have the
SWP_NOACTIVATE flag set additionally.
1999-04-22 15:22:06 +00:00
Thuy Nguyen 44bd9f06e4 First patch implementing property sheets. 1999-04-22 09:24:47 +00:00
Juergen Schmied ea7b826cd6 Fixed typo. 1999-04-21 14:26:59 +00:00
Patrik Stridvall b4b9fae671 New debug scheme with explicit debug channels declaration. 1999-04-19 14:56:29 +00:00
Luc Tourangeau c4a01c3cc7 -Implemented TCS_BUTTONS, TCS_FIXEDWIDTH, TCM_GETITEMRECT,
TCM_SETITEMSIZE and TCM_DELETEITEM.
1999-04-18 09:35:42 +00:00
Sylvain St.Germain 9024526d94 Fixed the messaging problem of the edit box for node label edition.
Substituted WM_PAINT for InvalidateRect.
Some graphical fixes.
1999-04-10 16:35:30 +00:00
Luc Tourangeau 3025dc181b Added support for icon and smallicon views. 1999-04-01 11:55:44 +00:00
Francis Beaudet 64307f3cea Fixed small ==, != mixup. 1999-04-01 10:11:23 +00:00
Francis Beaudet fc09e709a3 Implemented TCM_ADJUSTRECT. 1999-04-01 10:02:04 +00:00
Dimitrie O. Paun 05c0c8ef13 Changed some debug messages from one channel to another, to clean up a
bit the debug channel usage.
1999-03-28 15:07:41 +00:00
Pascal Lessard 60935ec3e9 Change the AddBitmap function. Implement flat toolbar. Change
CreateToolbarEx. Implement partially the hot buttons for toolbar.
1999-03-25 16:42:27 +00:00
Marcus Meissner 6400755f0c Missing WINAPI. 1999-03-25 16:41:03 +00:00
Francis Beaudet 1d70e4ac8a Implemented:
- showing the selected tab as highlighted
- support for drawing the focus rectangle
- basic keyboard support
- support for a tab with horizontal scrolling.
1999-03-25 13:24:57 +00:00
Sylvain St.Germain 99b118a216 Implementation of TVM_SORTCHILDRENCB.
Implementation of TVI_SORT insertion.
Fix display problem when TVIF_IMAGE|TVIF_SELECTEDIMAGE were not set.
Fix problems related to TVIS_EXPANDEDONCE.
1999-03-25 10:55:01 +00:00
Sylvain St.Germain 3ff06f613e Fix problem in DPA_QuickSort where the sort order was inverted. 1999-03-25 10:53:49 +00:00
Sylvain St.Germain 49c1ca28d4 Implements +/-, PgUp/PgDown, Home/End, Left/Right, Up/Down. 1999-03-18 17:30:44 +00:00
Marcus Meissner 3480e4a596 Removed no longer necessary win.h include, added now necessary other
includes (win.h used only by UPDOWN now).
1999-03-16 10:53:11 +00:00
Francis Beaudet e412c63d7a Fixed a slight bug that was included in the change from WND ptr to
hwnd last week.
1999-03-16 10:39:53 +00:00
Sylvain St.Germain 02300aeaa5 Fixed some graphical problems of the treeview and added support LMB
click on +/- sign to open and close.
Fixed a bug in imagelist where the last image could not be displayed.
1999-03-16 10:38:44 +00:00
Thuy Nguyen 30881622b6 0 is a valid index for a tab item.
CreateSolidBrush takes a COLORREF as a parameter.
Tab controls were always displayed in the top left corner.
1999-03-16 09:52:21 +00:00
Francois Boisvert 6b1b41cf85 Made access to the wnd struct thread-safe. 1999-03-14 17:25:32 +00:00
Alexandre Julliard 114d9d18fb Fixed make depend 1999-03-13 08:54:39 +00:00
Eric Kohl cad17ff708 Replaced direct access to the WND structure by corresponding calls to
Win32 functions.
1999-03-12 17:42:50 +00:00
Eric Kohl fa8ae2f4fb Fixed some bugs introduced by the automated renaming. 1999-03-12 17:40:32 +00:00
Luc Tourangeau 4d6df2cb91 Changed the listview control to add the report view and fix some bugs
for the list view.
1999-03-12 17:31:08 +00:00
Thuy Nguyen 47d98fb9c8 Removed direct access to the WND struct. 1999-03-12 17:16:25 +00:00
Sylvain St.Germain 26a83df8eb Removed direct access to the WND struct. 1999-03-12 17:08:11 +00:00
Marcus Meissner de43ef45ec Fixed a lot of warnings using WINE_UNUSED, casts, commenting out and
additional {}. Rewrote GetCreationModeFromSTGM so we don't get
"possible use of uninitialized variable".
1999-02-28 19:56:59 +00:00
Alexandre Julliard a396029270 Large-scale renaming of all Win32 functions and types to use the
standard Windows names.
1999-02-26 11:11:13 +00:00
Jeff Garzik c3e1f72bac Added missing string.h include. 1999-02-19 15:42:11 +00:00
Marcus Meissner 04c3e1d456 Removed a lot of occurences of windows.h (and added necessary other
includes).
1999-02-19 10:37:02 +00:00
Marcus Meissner 317af320cf Optimized include/*.h: (recursively) include all headers needed by
this .h file, but only those. Necessary fixes to a lot of .c files,
started optimizing "windows.h" away from some of them. Moved
GetCurrentTask prototype to wine/winbase16.h.
1999-02-17 13:51:06 +00:00
Luc Tourangeau ce2b1410e2 Preliminary listview control implementation. 1999-02-17 12:58:48 +00:00
Marcus Meissner 65e1f75f58 Some warnings fixed, one useless VERSION warning removed (winelib). 1999-02-13 17:38:16 +00:00
Alexandre Julliard 066644485f Authors: Adrian Thurston <adriant@corel.ca>, Zygo Blaxell <zblaxell@corel.ca>
Move property sheets from commctrl.h into into prsht.h.
1999-02-11 16:22:12 +00:00
Bertho Stultiens 4bd7128f09 Fix typo to map GetTextExtentPoint to the correct 32A version. 1999-02-09 15:27:29 +00:00
Zygo Blaxell f861e2773c Change a few types to match you-know-who's declarations.
HTREEITEM is a struct _TREEITEM FAR*
GetDIBits passes a LPVOID for the bitmap data, not LPSTR.
Adjustment of Wine C code to match the new types included.
1999-02-02 13:59:17 +00:00
Eric Kohl a0a516d60e Fixes little pointer bug in DPA_DeletePtr(). 1999-02-02 10:33:08 +00:00
Marcus Meissner 6b5a811175 Some more warnings and bugs fixed. 1999-01-30 13:06:00 +00:00
Alex Priem b2e099cfed Small update. 1999-01-30 13:04:01 +00:00
Alex Priem d2d7f96938 - The usual bugfixes.
- Better unicode support (only defines, currently)
- Drag & drop implemented.
- LPSTR_TEXTCALLBACK should work now.
- First start at custom draw code.
1999-01-30 13:02:30 +00:00
James Juran c2a1063940 Commented out unused variables to prevent needless compiler warnings. 1999-01-28 16:33:44 +00:00
Marcus Meissner 03479f8adb Fixed a lot of warnings for possible problems. 1999-01-28 10:06:38 +00:00
Marcus Meissner ffb912e692 Fixed GetIconInfo16 (.spec,ICONINFO struct is different for Win16/Win32). 1999-01-28 09:14:38 +00:00
Andreas Mohr 22c904d3ca Implemented GetIconInfo16 -> call to GetIconInfo32. 1999-01-26 14:56:01 +00:00
Marcus Meissner 6b108a6212 3 missing WINAPI added. 1999-01-26 12:59:31 +00:00