Commit graph

72 commits

Author SHA1 Message Date
Andrew Talbot
a8a469c7c0 comctl32: Constify some variables. 2007-03-30 10:55:19 +02:00
Farshad Agah
86ea6b5820 comctl32: monthcal: Correct the return value in MCM_SETFIRSTDAYOFWEEK. 2007-03-16 11:53:22 +01:00
Farshad Agah
d0f75b5993 comctl32: monthcal: Reject out of range dates in MCM_SETCURSEL. 2007-03-09 11:36:53 +01:00
Felix Nawothnig
8784d47cba comctl32: Remove redundant NULL checks before Free() calls. 2007-02-14 12:22:39 +01:00
Vijay Kiran Kamuju
c5b8df481f comctl32: MonthCalendar - Fix highlighting of current date. 2006-12-26 12:52:49 +01:00
Alexandre Julliard
7cca856315 comctl32: Properly handle negative coordinates for mouse events. 2006-10-25 17:41:48 +02:00
Michael Ploujnikov
1c16d83379 comctl32: Win64 printf format warning fixes. 2006-10-14 20:17:06 +02:00
Jonathan Ernst
360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Vitaliy Margolen
9774745330 comctl32: Remove/swap limits if min > max in MCM_SETRANGE.
We should swap min & max only when both limits are being
set. Otherwise limit that being set should invalidate other limit
(remove it).
2006-02-16 12:19:36 +01:00
Vitaliy Margolen
f273bdc0b5 comctl32: Don't change month range in MCM_SETRANGE. Add tests for this. 2006-02-16 12:19:09 +01:00
Vitaliy Margolen
bc2b9e3feb comctl32: Fix invalid date/time check in MCM_SETRANGE: ignore time and fail on bad date. 2006-02-14 17:12:45 +01:00
Michael Kaufmann
e9310da57b Handle WM_PRINTCLIENT.
Don't use SelectClipRgn in WM_PRINTCLIENT.
2005-11-08 12:52:35 +00:00
Frank Richter
25464ceef5 Add theming for the monthcal control. 2005-08-11 17:05:00 +00:00
Mike McCormack
882bc4d18d Warning fixes for -Wmissing-declarations and -Wwrite-strings. 2005-06-09 09:50:56 +00:00
Francois Gouget
62253b752f Assorted spelling fixes. 2005-05-30 09:56:56 +00:00
Duane Clark
320814fb67 Misc rectangle fixes.
The date should be initialized from local time.
2005-04-20 12:51:37 +00:00
Duane Clark
a6659d26d2 Monday is day number '1'.
Set day of week when a day is selected in the calender.
Use fixed width fields in datetime.
DTS_TIMEFORMAT is a two bit field, so test accordingly.
Reposition and resize the updown control when the datetime control is
resized.
Respond to updown inputs.
2005-04-14 11:31:17 +00:00
Dimitrie O. Paun
30a66a051c MonthCal unicodification. 2005-04-11 14:21:00 +00:00
Ulrich Czekalla
8b20d72005 Clear systemtime struct so we don't return garbage in uninitialized
fields.
2005-04-11 12:57:57 +00:00
Francois Gouget
93416cdaf7 Assorted spelling fixes. 2005-03-23 13:15:18 +00:00
Robert Shearman
fbcc21be62 Use the DrawFocusRect function to draw the focus rect, instead of a
broken home-brewed solution.
2005-01-11 10:43:03 +00:00
Eric Pouech
cf1d00bb08 Removed excessive statement (break after return or goto, not useful
break, not needed vars...)
2005-01-09 16:42:53 +00:00
Dmitry Timoshkov
30bebfdc38 - Pass infoPtr around in month calendar control.
- Add support for WM_SETFONT and WM_GETFONT messages.
2004-11-30 17:35:16 +00:00
Dmitry Timoshkov
00176e33b3 Dimensions of month calendar control should not depend on the client
window size.
2004-11-08 20:27:02 +00:00
Robert Shearman
8d28e0314c Remove unnecessary WNDPROC casts. 2004-11-06 03:49:03 +00:00
Uwe Bonnes
194bac7781 Monthcal_SetRange: Set proper value for min date. 2004-10-21 22:28:12 +00:00
Dimitrie O. Paun
5d0366f5a0 Audit the month calendar. 2004-10-21 19:52:28 +00:00
Robert Shearman
cdb263e588 Replace GetWindowLong by GetWindowLongPtr. 2004-08-25 17:33:01 +00:00
Krzysztof Foltman
c401aa84eb - next/prev month don't stick anymore
- min/max ranges initialized to some reasonable values
- fixed some bugs caused by reversed order of arguments of MONTHCAL_CopyTime
- update current month/year after setting current date
- changing months etc doesn't send MCN_SELECT (which could be sent
  only after a particular day was clicked)
- changed (hit && MCHT_CALENDARDATE) to (hit == MCHT_CALENDARDATE)
2004-04-21 22:24:09 +00:00
Dimitrie O. Paun
c594043316 Make the controls send notifications to the parent window passed to
them in CREATESTRUCT.  Based on a treeview patch by Igor Grahek.
2003-11-20 22:04:13 +00:00
Dimitrie O. Paun
7de279a73a Rename COMCTL32_{Alloc,ReAlloc,Free} to {Alloc,ReAlloc,Free}. 2003-09-22 21:32:33 +00:00
Alexandre Julliard
9d61596624 SLOWORD and SHIWORD do not exist on Win32 (reported by Filip Navara). 2003-09-17 04:28:28 +00:00
Alexandre Julliard
cf52644a1c Removed the A/W constants for builtin cursors, icons and resource
types since they don't exist on Windows, and added typecasts
everywhere instead.
2003-09-10 03:56:47 +00:00
Alexandre Julliard
e37c6e18d0 Fixed header dependencies to be fully compatible with the Windows
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Huw Davies
130e21795c Fixed a possible memory corruption.
Fixed a memory leak.
2003-05-12 03:19:35 +00:00
Dan Kegel
0fd521fee3 Change RECT to use LONG to match win32 standard headers and fix format
strings to use %ld for RECT elements.
2003-01-08 21:09:25 +00:00
Francois Gouget
d2667a4ce3 Removed unnecessary HANDLE typecasts. 2002-12-02 18:10:57 +00:00
Michael Stefaniuc
353529b2c8 - fix the "int format, HANDLE arg" type of warnings for comctl32
- compile the comctl32 dll with -DSTRICT
2002-10-23 22:19:10 +00:00
Guy L. Albertelli
23739a339a Don't issue error message if message number in application range. 2002-07-16 01:23:59 +00:00
Vincent Béron
9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Alexandre Julliard
0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Francois Gouget
cd8d181a0b Spelling typos. 2001-05-18 21:01:38 +00:00
James Juran
f4d5fefb0a Add <string.h> to files that needed it. 2001-01-26 20:43:40 +00:00
Dmitry Timoshkov
77b2185e1c Remove redundant includes.
Eliminate use of USER internal structures.
2000-11-15 22:15:52 +00:00
Alexandre Julliard
908464d448 Authors: Andreas Mohr <amohr@codeweavers.com>, Dimitrie O. Paun <dimi@cs.toronto.edu>, Patrik Stridvall <ps@leissner.se>
Various warning fixes.
2000-11-01 03:11:12 +00:00
Francois Gouget
7203ee6623 Use PS_ALTERNATE rather than PS_DOT.
Use Rectangle to draw focus rectangles.
2000-10-31 02:05:11 +00:00
Uwe Bonnes
b0067efa53 Localization and many changes to behaviour and outlook. 2000-10-15 00:27:28 +00:00
Chris Morgan
a45919338d Changed RedrawWindow()'s to InvalidateRect()'s. RedrawWindow() was
being called with RDW_UPDATENOW, forcing immediate painting.  Added
redrawing logic to STATUSBAR_SetTextW().
2000-09-22 20:49:12 +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
70c9e095ef Removed all non-standard common control headers from the include
directory.
2000-08-09 00:41:17 +00:00