Commit Graph

267 Commits

Author SHA1 Message Date
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