Commit Graph

489 Commits

Author SHA1 Message Date
Chris Morgan 043c3e7977 Removed all direct calls to MONTHCAL_Refresh() and replaced with
either RedrawWindow or InvalidateRect. Optimized drawing using
RedraWindow and update regions.  Fixed "Today" date bug where year was
only one digit.  Fixed drawing of circle drawn next to "Today".  Fixed
moving to previous or next month by clicking on days belonging to
previous or next months.
2000-05-30 20:06:33 +00:00
Alexandre Julliard 53f8c60ee9 Francois Methot (Macadamian)
Fixed the blank color palette tooltip bug by triggering a refresh of
the tooltip with UpdateWindow function instead of calling directly the
refresh function.
2000-05-26 01:16:01 +00:00
Aric Stewart f64a59f2fe Reworked the thumb drawing code, thumb calculation code, channel
calculation code, and corrected some bugs in how tics are drawn and
how clicks are handled.
2000-05-25 23:02:18 +00:00
Chris Morgan b70b26709f Use clipping regions to reduce the amount of processing performed when the
toolbar is repainting.  Reduces processing by approximately 85-95% in most
cases.
2000-05-25 23:01:20 +00:00
Gerard Patel bfd5b31a0e Fixes crash when calling Treeview_EndEditLabelNow and no node is
currently edited.
2000-05-25 23:00:46 +00:00
Susan Farley 820da77db3 Defer to standard scrolling APIs for non-flatSB specific functions so
that flatSBs show up and behave properly, just not with flat properties.
2000-05-24 21:05:20 +00:00
Aric Stewart 4b40a7dc8f Added handling for TVS_SINGLEEXPAND. 2000-05-24 21:02:50 +00:00
Aric Stewart 6274a7ab88 Corrected the problem where a tab control marked multiline but has
only one tab was being justified to fill the whole tab space.
2000-05-24 21:02:29 +00:00
Martin Fuchs 0b5642160c Inserted a missing call to SetWindowPos(). With this change the header
control is visible again in list views with report style.
2000-05-24 03:33:05 +00:00
Susan Farley 62c5d9f366 SetBuddy no longer overwrites its superclass' WndProc property when
the buddy has already been subclassed, eliminating the infinite loop
that resulted.
2000-05-23 21:22:27 +00:00
Chris Morgan e2099dc987 Fixed tooltips. 2000-05-23 21:12:03 +00:00
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
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
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
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
Francois Gouget 244ad84f50 Convert C++ comments to regular C comments. 2000-05-18 00:05:10 +00:00
David Black 2b44191367 Implemented TVM_EDITLABELA, plus some improvements to EndLabelEditNow. 2000-05-14 23:50:00 +00:00
Patrik Stridvall 5ca73ac93a Fixed issues found by winapi_check. 2000-05-11 21:46:51 +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
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
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
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
Aric Stewart 8ee3144a77 Added the ability to use multiline tab controls to wine. 2000-05-09 22:33:48 +00:00
Gerard Patel d7cbd7b001 Set the itemID member of the DRAWITEMSTRUCT to the number of the
status part painted.
2000-05-07 18:25:56 +00:00
Chris Morgan 53b152f73c Implemented ListView_SetHoverTime(), ListView_GetHoverTime(), initial
support for the LVS_EX_TRACKSELECT flag.  Added code to delete items
in LISTVIEW_SetItemCount().
2000-05-07 18:24:10 +00:00
Aric Stewart 7d6e9a1ab0 Fixed a bug with the processing of HitTest. 2000-05-05 18:22:44 +00:00
Huw D M Davies 2be78d412f Fixed DC leak. 2000-05-05 18:18:31 +00:00
Sheri Steeves 1e0dfb598b Worked around some tooltips hide problems by checking the current tooltip. 2000-05-05 18:16:35 +00:00
Bertho Stultiens 27337af65c - Implemented a new preprocessor that is (nearly) ANSI-C compliant. The
old parser has been stripped from the old preprocessor-code which
  cleaned up both resource-scanner and -parser.
- Standard defines have been introduced (see README.wrc)
- Both preprocessor- and resource-scanner have been optimized slightly
  so that no backing up is required (one char lookahead is enough).
- Filename-scanning has been cleaned up, though not perfect yet.
- User-type resources are compatible now.
- Line-continuation in strings is corrected so that it does not
  introduce a newline in the output.
2000-05-01 20:05:58 +00:00
Alexandre Julliard 2fb5dee6e7 Authors: Chris Morgan <cmorgan@wpi.edu>, James Abbatiello <abbeyj@wpi.edu>
Implemented TME_QUERY and TME_HOVER flags in _TrackMouseEvent and
TrackMouseEventProc.  Added code to allow addition/cancelation of
tracking flags on existing entries rather than create extra entries.
Fixed timer.  Added check to _TrackMouseEvent to stop timer if the
tracking list is empty.  Fixed TME_CANCEL.  Fixed TME_LEAVE/TME_HOVER
when hwndTrack isn't the current hwnd.
2000-04-28 20:49:20 +00:00
Martin Fuchs 33bdf53d9d - Return modified rectangle after layouting header control
- Output text in header control when no other Flag specified
- Delay bounding rectangle calculation for header control items
2000-04-28 14:46:36 +00:00
Chris Morgan 980afc9a3d Implemented TOOLBAR_MouseLeave to handle WM_MOUSELEAVE messages.
Added TrackMouseEvent calls to TOOLBAR_MouseMove.  Hot buttons now
look/behave almost exactly the same as native windows.
2000-04-28 14:45:44 +00:00
Patrik Stridvall 55ef9a5a68 Fixed issues found by winapi_check. 2000-04-24 18:03:54 +00:00
Alexandre Julliard 5f4c9a0023 Patrick Yang (Corel)
infoPtr sometimes can be NULL.
2000-04-24 18:01:27 +00:00
Martin Fuchs c37a639e33 Fixed toolbar bitmap size handling. 2000-04-24 17:34:42 +00:00
Alexandre Julliard 491bc7c751 Authors: Chris Morgan <cmorgan@wpi.edu>, James Abbatiello <abbeyj@wpi.edu>
Redraw toolbar button inside TOOLBAR_EnableButton() only if the state
of the button changes.  Stops flickering in toolbars caused by
excessive redrawing.
2000-04-23 19:56:07 +00:00
Alexandre Julliard ae7ae694b3 Removed winmm from import list. 2000-04-19 16:52:06 +00:00
Alexandre Julliard 59d99130c5 Use GetProcAddress for mmio* functions to avoid importing winmm.dll. 2000-04-19 16:48:45 +00:00
Stephane Lussier 30316dd5f6 Mousewheel support. 2000-04-19 16:45:30 +00:00
Stephane Lussier 4bdf4af11e Implemented Mousewheel support. 2000-04-18 11:56:33 +00:00
Martin Fuchs 1d20af694c Implement CCS_NOMOVEY for tool bars. 2000-04-15 20:38:11 +00:00
Serge Ivanov 1db182f20b Added proper handling TVIS_OVERLAYMASK flag and allows to display
overlay images. Fixed off by one error with listitem in
TREEVIEW_InsertItemA (uNumItems is 0 based, cChildren is a count).
2000-04-15 20:36:15 +00:00
Huw D M Davies 0c3594a9a6 Clear TopRootItem when whole tree is deleted.
Fix off by one lstrcpyn.
Clean up and fix GetNextItem.
2000-04-13 15:56:09 +00:00
Serge Ivanov 39ec6e48f9 TreeView - minor bugfix and optimization:
- GetDC call moved down to avoid possible resource leak.
   - Invariant code is moved out of loop.
2000-04-11 19:37:01 +00:00
Richard Cohen a4729b0b21 GetItem was returning the item instead of subitem info. 2000-04-09 18:38:23 +00:00
Yuxi Zhang 2c0f14af3b Stephen Mereu
TabCtrl leftmostVisible is not updated properly. It caused the QP
application bar on the bottom fail to bring back the items when there
is no need to scrolling. Also fixed a bug that when an item is inserted,
setItemBounds should be called first, then it's time to invalidate.
2000-04-08 20:23:00 +00:00
Patrik Stridvall 54fe8380a1 Fixed some issues reported by winapi_check. 2000-04-06 20:21:16 +00:00
Patrik Stridvall 2d6457c11a Added/fixed some documentation reported by winapi_check. 2000-03-28 20:22:59 +00:00
Andreas Mohr 3699ef77d4 Do a LoadLibraryA of WINMM upon ANIMATE_Create and a FreeLibrary upon
ANIMATE_Destroy.
2000-03-28 19:28:33 +00:00
Francois Gouget 6d77d3a1df Use min/max instead of MIN/MAX. 2000-03-25 21:44:35 +00:00
Patrik Stridvall fcfacb95a7 Added/fixed some documentation reported by winapi_check. 2000-03-24 20:46:04 +00:00
Francois Gouget 98f86fcda4 Explicitly use the TVN_xxxA version of the macros. 2000-03-19 21:16:00 +00:00
Patrik Stridvall 6cc47d4924 Removed a lot of unnecessary includes and fixed the compile errors. 2000-03-08 18:26:56 +00:00
Alexandre Julliard d0edc5fecd Moved dll-specific make rules to a separate Makedll.rules file. 2000-03-04 22:31:27 +00:00
Alexandre Julliard d37c1bb570 Vahid Pourlotfali
Trackbar contol did not have proper position value in case of
SB_THUMBTRACK notification message: it was always sending 0.

Jim Aston <jima@corel.ca>
Made the slider control a rect.  It had been trying to draw a notched
slider, but the result didn't look right.
2000-03-04 19:11:54 +00:00
Niels Kristian Bech Jensen 4eb4380360 Removed superfluous #include statements for header files included twice. 2000-02-29 22:06:06 +00:00
Serge Ivanov a2c87ded53 Make updown control work. UpDown control always sends WM_*SCROLL
message and uses SB_THUMBPOSITION code (not SB_LINE[UP|DOWN]).
2000-02-29 22:04:40 +00:00
Pascal Lessard ce527de51f Implemented the behavior of sending WM_CONTEXTMENU when receiving a
WM_RBUTTONUP.
2000-02-29 22:04:00 +00:00
Pierre Mageau c8212371db Don't display the context menu on a double click.
Ulrich Czekalla <ulrichc@corel.ca>
Set the font on the edit label control to that used by the listview
control. It also uses text metrics to set a more reasonable initial
edit control size.

Pierre Mageau <pierre@macadamian.com>
Handle M_SETREDRAW in ListView.
Fix to EnsureVisible to handle small and large icon correctly.
Add edit label functionnality to the listview and the file open dialog.

Ulrich Czekalla <ulrichc@corel.ca>
RelaseDC in CreateEditLabel.

Pierre Mageau <pierre@macadamian.com>
Add functionnality to create new folder in the open dialog.
Add support for right click menu in common file dialog.
LISTVIEW_EndEditlabel is now handling NONLPSTR_TEXTCALLBACK listview items.

Serge Ivanov <sergei@corel.ca>
LISTVIEW_GetColumnA fix (do not copy string, pass pointers).

Luc Tourangeau <luc@macadamian.com>
Preventing a divide by zero when handling LVW_ENSUREVISIBLE message.

Don Kelly
-Implemented the sorting on insert of items into a ListView control
 with either LVS_SORTASCENDING or LVS_SORTDESCENDING set.
-(helping evil applications): sometimes not so well structured apps
 (PFPI90, in this case) will not fully initialize structs.  In the case
 of the LVM_GETITEM message the app may have only initialized the mask
 and iItem members of the struct.  Added processing of the LVIF_PARAM
 mask in the case that iSubItem was set but is invalid/uninitialized.

Pierre Mageau <pierre@macadamian.com>
Fix for handling correctly the cancelling mode of the Edit label.
Fix width calculation of the edit label.

Pascal Lessard <pascal@macadamian.com>
Implemented the behavior of sending WM_CONTEXTMENU when receiving a
WM_RBUTTONUP.

Ulrich Czekalla <ulrichc@corel.ca>
Fixed a painting problem with listview when the view changes and an
edit label is active.

Ulrich Czekalla <ulrichc@corel.ca>
Fixed a notification problem with listview. On creation if the user
specifies an item with focus and/or selection we should send the
proper notification. Insert was preventing LISTVIEW_SetItem from
seeing the changes and sending the notification.

Make the draw item rectangle consistent with the selection
rectangle. This allows us to click on the folders and icons in the
file open dialog box and the item actually gets selected.
2000-02-27 14:03:06 +00:00
Alexandre Julliard 047513f3de Don Kelly
In Windows Property Sheet can have any mix of icon-less tabs and tabs
with icons.  Adds a check to see if the icon we're adding is non-NULL
(otherwise random junk from memory can be rendered) when the application
has specified the PSP_USEICONID flag is set.  Changes to the Tab control
to only render icons for tabs that have the TCIF_IMAGE flag set
(previously, if the flag was set the entire image list of icons was
rendered).

Stephane Lussier <stephane@macadamian.com>
Fixes for some tab control bugs

Henning Hoffmann
Fixed some width problem with OWNERDRAW tab.

Luc Tourangeau <luc@macadamian.com>
TCM_ADJUSTRECT is now returning consistant compare to Windows.

Serge Ivanov <sergei@corel.ca>
Fixed problem with tab selection. When you select tab it becames first
visible tab. Now leftmost visible tab is calculated properly.
- Added code for correct handling of updown control.
- Forced recalculation of tabs' coordinates when:
a) all items are deleted,
b) window style is canged
2000-02-26 18:31:01 +00:00
Jim Aston fd018cc9da This reverts Matts patch. The messaging needs double checking. 2000-02-26 18:28:38 +00:00
Alexandre Julliard e1d78899ea Made winmm a separate shared library. 2000-02-26 13:45:34 +00:00
Hidenori Takeshima 031aef9a91 Fix for toolbar button size. 2000-02-25 21:35:18 +00:00
James Abbatiello 1758f2d81a Misc. fixes for compiler warnings. 2000-02-25 21:01:50 +00:00
Serge Ivanov c0b824d7de In Windows, if PropertySheet can't create some page it just skips it. This
patch adds similar behaviour to Wine. It also adds some NULL checks.

<yuxi@corel.com>
Fix property sheet initialization bugs.

Matthew Robertson
The template was calling GetActiveIndex which was not being set in the
propsheet code, and the call was moved before we call SetActive -
because that's where we query for the Active Index.

Noomen Hamza
Resize property sheet to the largest dialog size.

Don Kelly
In the WM_INITDIALOG handler for the prop sheet, there is a call to
PROPSHEET_IsTooSmall() which, if it returns TRUE, calls
PROPSHEET_AdjustSize().  Contrary to its comment, .._AdjustSize() actually
aligns the sizes of the "largest" prop. sheet dialog template and the tab
control.  The IsTooSmall() call doesn't properly catch this mismatch.
Modified the function to return TRUE if the sizes mismatch and renamed it to
PROPSHEET_SizeMismatch() to reflect its proper use.
2000-02-25 20:49:49 +00:00
Serge Ivanov a39cbbc0eb In function IMAGELIST_InternalDrawMask we have to mask out overlay mask in
fStyle. Otherwise comparison fStyle == ILD_NORMAL will not work, which leads
to improper display of overlay images.
2000-02-25 20:47:26 +00:00
Andreas Mohr f4185f63d0 Spelling fixes. 2000-02-20 19:17:15 +00:00
Alexandre Julliard d711ad9e0a Removed superfluous GlobalFindAtom calls. 2000-02-13 15:10:16 +00:00
Alex Priem d5a50a3cea Fixed off-by-one error. 2000-02-13 15:02:43 +00:00
Alexandre Julliard 383da68cf9 Optimized debugging API to reduce code size. 2000-02-10 22:15:21 +00:00
Jeremy White d3e22d9d55 Removed #include of wingdi.h and windef.h from winuser.h (and resolved
the resulting compilation failures).
2000-02-10 19:03:02 +00:00
Marcus Meissner bd26e4d2cf Height calculation was 1 off in ImageList_Read. 2000-02-07 16:00:33 +00:00
Alex Priem e15dff7411 - Implementation of WM_SETFORMAT
- Reworked drawing/selection
- Implementation of WM_KEYDOWN
2000-02-03 00:48:39 +00:00
Alexandre Julliard 318f4cefd2 Build most dlls as separate shared libraries. 2000-01-31 05:02:49 +00:00
Marcus Meissner 9c978ab18e Overlay indices are signed shorts (-1 means no overlay)
(ImageList_SetOverlayIndex) should accept -1 as overlayindex.
(ImageList_Read) We can read a NxM bitmap from the stream and have
to convert it into a 1x(M*N) bitmap, set cCurImage,cMaxImage. Added
documentation.
(others) removed some potential operator precendence problems.
2000-01-30 22:21:22 +00:00
Andreas Mohr 8cd93514f0 - add some documentation items
- fix some spelling
- fix some warnings
2000-01-29 21:12:58 +00:00
Marcus Meissner d40170d20c Implemented ImageList_Read (not 100% correct in regarding to setting
the bitmap).
Filled out unknown members of ILHEAD.
Started reordering IMAGELIST to make it Windows binary compatible.
2000-01-29 21:00:25 +00:00
Marcus Meissner bade58f2d2 Added *.spec.c, *.spec.glue.s, *.glue.c to .cvsignore that need them. 2000-01-23 22:00:06 +00:00
Alexandre Julliard afa4315507 Removed a dependency between oleaut32 and comctl32. 2000-01-12 05:01:02 +00:00
Alex Priem 504cfe51d3 InfoPtr checking mixed up WM_DESTROY and WM_CREATE. 2000-01-12 04:55:27 +00:00
Alexandre Julliard 74e4a28a34 Built-in DLLs resources are now specified in spec file.
Removed unnecessary flags in built-in DLLs tables.
2000-01-09 04:20:31 +00:00
Alex Priem f1a3f1752d - When processing WM_PAINT messages, the treeview might sometimes use
the wrong hdc. Fixed.
- Better checking for TREEVIEW_INFO *infoPtr=NULL.
  Similar to code in toolbar.c
- Other small fixes (subclassed edit control).
2000-01-05 01:48:56 +00:00
Alexandre Julliard b7c84d3b22 Authors: Chris Morgan <cmorgan@wpi.edu>, James Abbatiello <abbeyj@wpi.edu>
Implemented WM_SIZE message support. Optimized drawing to use
precalculated size values rather than recalculating during each call
of MONTHCAL_Refresh.
2000-01-04 00:30:21 +00:00
Francois Gouget e73b8b84ba Wrapped some strings in a debugstr_* call.
Replaced some calls to debugstr_{a,w} by debugstr_{a,w}n.
Removed redundant 'L's for Unicode strings.
Tried to harmonize the traces a little bit.
1999-12-26 00:40:37 +00:00
Francois Gouget 7e5f828b12 Better support very long strings by avoiding to copy them in a fixed
size buffer (one exception partly remains: callback strings).
Raise the buffer size to 512 characters.
Merge the handling of item 0 and other items together in GetItemA to
reduce code duplication.
1999-12-25 22:57:17 +00:00
Huw D M Davies f35356db11 DPA_DeletePtr was resizing the array to a too small size. 1999-12-25 22:51:53 +00:00
Ian Schmidt c5af796977 Corrected background color and fixed leaking GDI brush. 1999-12-20 04:00:52 +00:00
Shaun Morris 271f522fa9 Implemented _TrackMouseEvent for the TME_LEAVE flag. 1999-12-20 03:48:25 +00:00
Andreas Mohr 7fb732e597 Fixed compiler warnings. 1999-12-12 00:47:51 +00:00
Dimitrie O. Paun dd03cc19fd Make use of the DEFAULT_DEBUG_CHANNEL where appropriate.
Use the default version of FIXME, ERR, WARN, TRACE for the default
channel.
1999-12-08 03:56:23 +00:00
Francois Gouget 42d4f30156 Whenever we do an strncpy we should make sure we put a '\0' at the end
of the buffer.
1999-12-05 23:11:47 +00:00
Huw D M Davies bbe263b68b Added stubs for several MRU list functions and documented some others. 1999-12-04 04:01:41 +00:00
Huw D M Davies 2553976309 Fixes off by one error in item insertion. 1999-12-04 03:59:33 +00:00
Alexandre Julliard 08afc1a5ed Serge Ivanov
Pierre Mageau
Thy Nguyen
Don Kelly
Noomen Hamza
Lots of bug fixes and new features in property sheets.
1999-11-28 21:01:47 +00:00
Niels Kristian Bech Jensen c69a80c31d Compiler warnings fixed. 1999-11-28 20:31:04 +00:00
Dave Pickles df66b90f12 Prevent a crash if messages are sent to a toolbar window before
WM_NCCREATE or after WM_DESTROY.
1999-11-28 20:14:49 +00:00
Alex Priem e6e71ad4e6 - (final?) update of TreeView_* macro's.
- implementation of TVM_SETINSERTMARK & TVM_SETINSERTMARKCOLOR
- fixed some typo's
- custom draw enhancements
- implementation of state images
- implementation of TVS_CHECKBOXES
1999-11-28 19:50:01 +00:00
Eric Kohl 426e812ba0 Fixed some visual toolbar bugs. 1999-11-28 19:48:57 +00:00
Eric Kohl 69a93593b0 - first 'dummy' implementation of ImageList_Read 1999-11-23 23:40:01 +00:00
Eric Kohl 70e0969eeb - added version messages 1999-11-23 23:38:22 +00:00
Eric Kohl 663921f97c - implemented LBItemFromPt 1999-11-23 23:35:12 +00:00
Eric Kohl 2b51c94674 - implemented simple column order array functionality
- implemented some virtual listview notifications
1999-11-23 23:32:03 +00:00
Eric Kohl 33910f17ff - minor update to mru list functions
- stubs for COMCTL32_411 to COMCTL32_413
1999-11-23 23:14:53 +00:00
Eric Kohl 81e314b14f - added version messages and some simple get/set messages.
- added unicode messages
1999-11-23 22:33:41 +00:00
Alexandre Julliard 0bb2e5ab01 Authors: Chris Morgan <cmorgan@wpi.edu>, James Abbatiello <abbeyj@wpi.edu>
Implemented current day circling.  Fixed many bugs in the month
calender control including control spacing and alignment.  Fixed
defines monthcal.h.  Optimized control drawing and removed many
extranious redraws.  Improved control behavior.  Fixed inconsistent
formatting in both .c and .h files.
1999-11-21 02:04:09 +00:00
Eric Pouech d183e4ac8c Added undocumented feature to InsertButtonA.
Added dropdown button support.
1999-11-21 00:52:26 +00:00
Eric Pouech 331931a8ae Fixed play back of uncompressed AVI file.
Fixed exiting conditions.
1999-11-21 00:51:54 +00:00
Alex Priem 07be70b456 - fixed crash when adding items with TVI_SORT and wineItem->pszText is
set to LPSTR_TEXTCALLBACK.
- ditto for TREEVIEW_DeleteItem, TREEVIEW_CreateDragImage.
1999-11-21 00:47:43 +00:00
Juergen Schmied 111f0e35a4 - inserted markers for the bin2res tool
- reformated hexdump in shres.rc
1999-11-13 22:38:24 +00:00
Adrian Thurston 7d487c914f Added validations for page index before using it. 1999-11-13 20:49:12 +00:00
Juergen Schmied 56403478c7 - unified templates for the open and the save dlg
- replaced buttons with a toolbar
1999-11-07 22:41:05 +00:00
David Grant 977392c4a2 - Proper initialization of cchTextMax field was added for
TVN_GETDISPINFO notification message.
- TVM_SETITEM should update 'mask' field to synchronize it with
  current item state.
1999-11-07 05:36:44 +00:00
Eric Pouech e72a9b65c7 Fixed SetTitleA when string resources were to be loaded. 1999-11-07 05:28:32 +00:00
Pierre Mageau 710541fa08 - Fixed an error for scrolling in Listview (sometimes a column would
not be visible) due to my last checkin.
- Fixed an error for the header control when the Listview is resized with WM_SIZE
- Fixed the scrolling for small and large icon (this broke because of
  the use of SB_PAGE in scrollInfo)
- Added a patch made by Noomen Hamza to update the item width when
  adding a new item
1999-11-07 05:25:58 +00:00
Ulrich Czekalla d11d6e2085 Set proper item focus on DeleteItem.
Clean up edit label implementation.
1999-11-04 01:42:36 +00:00
Thuy Nguyen ac514e1ad0 PSM_ADDPAGE returns TRUE or FALSE. 1999-10-31 18:29:47 +00:00
Pierre Mageau 382060dcb2 In report view mode of the listview control, implemented the
horizontal scrollbar functionality.
1999-10-31 17:35:47 +00:00
Thuy Nguyen a7de24baa0 Fill in the hwndFrom field of the NMHDR structure when sending
notifications.
1999-10-31 17:33:50 +00:00
Thuy Nguyen 709b083824 Wizard mode property sheets have a tab control. 1999-10-31 02:24:29 +00:00
Ulrich Czekalla dfd13e2fb6 - Treeview uses COLOR_WINDOW color instead of clrBk to fill background.
- Treeview: colors returned by TVM_GET**COLOR are mixed up.
1999-10-31 01:52:42 +00:00
Noomen Hamza 8d2e0bb772 Selected button within tab control will be painted with the right
color brush.
1999-10-31 01:43:25 +00:00
Pierre Mageau 86c507d606 Do not send two PSN_KILLACTIVE messages. 1999-10-31 01:40:28 +00:00
Patrik Stridvall d7da486c96 Added spec file declarations for already implemented functions. 1999-10-24 21:35:16 +00:00
Pierre Mageau 9f295f127e Added the functionality of the thumb track. 1999-10-24 17:24:27 +00:00
Ulrich Czekalla 6966c65b87 PropertySheet didn't destroy page dialog's window while removing page. 1999-10-23 23:59:47 +00:00
Pierre Mageau 50f8e4b171 Update the item width upon a new column in the header control. 1999-10-23 23:57:42 +00:00
Joshua Thielen 0c1dea0841 Fixed tooltips positioning. 1999-10-23 19:59:55 +00:00
Adrian Thurston a0240cad52 Proper resource support for dialog title. 1999-10-23 18:59:01 +00:00
Ulrich Czekalla c2983025d5 Implementation of edit labels. 1999-10-23 18:53:25 +00:00
Pierre Mageau b2e0eef50f Fixed the ascending and descending sort order for the File Dialog. 1999-10-23 16:58:22 +00:00
Ulrich Czekalla d8eb8c54b1 - adds calling application defined callback function once PropertSheet
Dialogbox has been initialized just after creating the tab control
- handle the case when pszCaption specifies a resource instead of a string
1999-10-23 16:57:28 +00:00
Ulrich Czekalla 690a6d4b72 Properly copy text into user supplied buffer. 1999-10-23 16:54:48 +00:00
Ulrich Czekalla 42a474ed65 Tab control doesn't refresh tab area on TCM_SETCURSEL. 1999-10-23 16:51:34 +00:00
Ulrich Czekalla f9fbadff38 The property sheet dialog needs flag WS_VISIBLE. 1999-10-23 14:28:31 +00:00
Eric Pouech 805e58108e Added WM_GETFONT support. 1999-10-23 14:17:36 +00:00
Noomen Hamza f4ca35f61c Listview items will be drawn with the right item dimensions. 1999-10-23 14:08:00 +00:00
Eric Pouech 3e18c25058 First working version. 1999-10-23 14:01:32 +00:00
Pierre Mageau 89ab9f08ab When an error occurred in a property sheet because of invalid data,
clicking on another tab, would activate the new tab but keep the
original property sheet.
1999-10-13 15:54:08 +00:00
Juergen Schmied e340c707ba - implemented sorting the listview by clicking on the column header
- implemented the context menu entrys for sorting
- some more functions to gather data form pidls
1999-10-13 15:53:05 +00:00
Thuy Nguyen 30eaa59c2a Mouse position is signed. 1999-10-13 13:47:36 +00:00
Marcus Meissner 3cdb3f2984 Check for NULL ptr in Propsheet_RemovePage (Xing DVD Player). 1999-10-13 12:31:52 +00:00
Ulrich Czekalla c87736df1f Prevent self referencing next pointer during insert. 1999-10-13 12:26:37 +00:00
Stephane Lussier 251147741c Allow creation of empty imagelist. 1999-09-22 15:15:57 +00:00
Dennis Björklund 87bca23150 It's no error to send a WM_COMMAND to MenuHelp. 1999-09-20 18:37:25 +00:00
Patrik Stridvall 311e456a64 Added support for anonymous structs/unions on compilers that implement it. 1999-09-19 14:20:33 +00:00
Stephane Lussier 274925980d In ImageList_Draw when drawing the bitmap with the transparent flag
set, background color/foreground color should be set to white/black,
when doing bitblt operation with the bitmap mask.
1999-09-19 14:14:24 +00:00
Thuy Nguyen bf35d809d4 Added support for wizard property sheets. 1999-09-19 12:14:38 +00:00
David Luyer b1f173da52 - iSelected should be -1 if no item selected (Gerard Patel)
- some of the checks for invalid items where > when they should have been >=
  (Marcus Meissner)
- made InsertItem behave similarly to DeleteItem, ie, if the current item is
  after where the item is inserted, increment the selected item (David Luyer)
1999-09-19 12:12:34 +00:00
Eric Pouech 200f8921b1 Fixed off by one allocation error (DPA and DSA). 1999-09-13 15:11:02 +00:00
Stephane Lussier 62c90d606e Fixed RGBQUAD/COLORREF mixup in CreateMappedBitmap(). 1999-09-11 16:23:35 +00:00
Luc Tourangeau 89e6840b43 Fixed LISTVIEW_GetItemRect: the calculations were off for LVIR_BOUNDS,
LVIR_SELCTBOUNDS, LVIR_LABEL when the item width is greater than the
column width.
Fixed WM_GETDLGCODE by removing the DLGC_WANTRTAB and adding DLGC_WANTCHARS.
1999-09-10 13:56:00 +00:00
Pierre Mageau 4ac8db783d Changed CopyImage to accept desiredX, desiredY and LR_COPYFROMRESOURCE.
CURSORICON_FindBestIcon changed to find the correct icon.
ImageList_ReplaceIcon now calls CopyImage internally.
Assign a value for the hIconSm CLASS member (using CopyImage).
1999-09-04 11:16:48 +00:00
Thuy Nguyen 143fc51455 Give applications a copy of the property sheet dialog template as they
might modify it.
1999-09-04 11:09:20 +00:00
Uwe Bonnes bd63880ca9 Implemented StrCmpNIA like the other StrCmpXX functions. 1999-09-04 11:04:45 +00:00
Huw D M Davies 4fa52588a5 Check that lpCreate->lpszName is non-NULL. 1999-09-03 16:42:42 +00:00
Francis Beaudet 28a082f6d4 Added sanity checks in the cleanup code. 1999-09-03 12:40:34 +00:00
Marcus Meissner 06c4d0e3bb Implemented LVM_INSERTCOLUMNW and LVM_INSERTITEMW by using the ascii
equivalents. (WinWord 97, File Open dialog)
1999-09-03 12:29:57 +00:00
Thuy Nguyen 43faed996a Implemented the PSH_USEICONID/PSH_USEHICON and the PSP_USETITLE
flags.
1999-08-18 18:25:46 +00:00
Thuy Nguyen 85411af6ae Added support for icons in property sheet tabs. 1999-08-14 15:51:10 +00:00
Alexandre Julliard 89f079bfd1 Replaced a few calls to lstr* functions by their CRTDLL or libc
equivalent.
1999-08-08 18:54:47 +00:00
Thuy Nguyen a77a890317 Take into account icons when determining tab size. 1999-08-07 12:30:04 +00:00
Patrik Stridvall 0e38aa7fda Various ANSI C compability fixes. 1999-07-31 17:34:43 +00:00
Patrik Stridvall b8684a266b Fixed some of the issues reported by winapi-check. 1999-07-31 17:32:05 +00:00
Patrik Stridvall 26ffb3cd76 Fixed/added missing/wrong function prototypes and made internal
functions static.
1999-07-31 14:41:43 +00:00
Eric Kohl 4d7e8778d5 Added builtin toolbar bitmaps. 1999-07-31 13:10:46 +00:00
Eric Kohl f9b580701f Some more messages. 1999-07-31 13:09:40 +00:00
Alex Priem d144e4a35b Bugfixes & further updates for the month calendar common control. 1999-07-31 11:13:25 +00:00
Alex Priem c8cc32587a Started implementing date/time common control. 1999-07-31 11:12:45 +00:00
Francis Beaudet 66a44e3c1f Fixed a memory leak. 1999-07-30 18:06:04 +00:00
Francis Beaudet 9b7fa1922a Added more support for buddy windows in the updown control. 1999-07-30 18:00:28 +00:00
Ian Schmidt 4558480ad3 Added stubs for InitMUILanguage and COMCTL32.410.
Fixed some compiler warnings.
1999-07-28 16:35:24 +00:00
Ulrich Weigand daed93ee99 Moved .spec files to corresponding dlls/ directory. 1999-07-25 13:14:13 +00:00
Francois Boisvert 56c36e3dc7 Implemented TREEVIEW_InsertItemW. 1999-07-24 12:14:51 +00:00
Pierre Mageau 6231a174c6 Fixed various problem with ImageList_Draw. 1999-07-24 10:20:06 +00:00
Thuy Nguyen 4083d9ab2f Fixed notifications. 1999-07-24 10:16:53 +00:00
Gerard Patel b3f4bc87ac Reset disabled style for the dialog boxes set on property pages. 1999-07-20 14:56:08 +00:00
Alex Priem e74f219da6 - Implementation of simple comctl32 v5.0 changes.
- TVM_SORTCHILDRENCB also accepts TVI_ROOT as a valid hParent.
1999-07-18 18:31:05 +00:00
Sylvain St-Germain 59fb130369 Implementation of the updown buddy windproc subclassing for the
handling of keyboard up and down arrow.
1999-07-18 13:30:01 +00:00
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