James Hawkins
1aa7afeed9
Fixed centering of tab text.
2005-05-17 10:19:37 +00:00
Felix Nawothnig
e9e6f13996
Rewrote item layouting - new code fixes bitmap/image position for
...
non-left-aligned text, prevents jumping when resizing non-left-aligned
text, implements clipping for images and correctly aligns bitmaps when
an image is already there.
2005-05-14 11:03:17 +00:00
Aric Stewart
8a0f989891
Handle WM_NCCALCSIZE in the tab control.
2005-05-12 09:57:10 +00:00
Dimi Paun
4f197f0f3d
Make it more explicit how we deal with WS_DISABLED.
2005-05-11 12:01:27 +00:00
Alexandre Julliard
34fa35dc99
Added rules for building import libraries in the individual dll
...
makefiles, and added support for building a .def.a static import
library too.
2005-05-09 14:42:30 +00:00
Felix Nawothnig
4899a50056
Implemented WM_ENABLE.
2005-05-09 09:24:05 +00:00
Alexandre Julliard
d62356aa1e
Added rules to build import libraries in the individual dll makefiles.
...
Generate import libraries with the right name right away instead of
using an intermediate .spec.def file.
2005-05-07 12:39:52 +00:00
Francois Gouget
f5c9da6860
Assorted spelling fixes.
2005-05-06 15:44:31 +00:00
Felix Nawothnig
2fcd42aac2
Set iItem to index before notifying callback items.
2005-05-04 10:37:17 +00:00
Stefan Leichter
5027c1b5c5
Import DPA_Search by ordinal like other DPA functions.
2005-04-22 21:18:12 +00:00
Duane Clark
320814fb67
Misc rectangle fixes.
...
The date should be initialized from local time.
2005-04-20 12:51:37 +00:00
Peter Berg Larsen
6e3bcb5a54
Replace strncpy with memcpy or lstrcpyn.
2005-04-18 10:30:55 +00:00
Vitaliy Margolen
71be094420
Don't redraw if no information has changed.
...
Fixed endless redraw loop if app using callback for images and/or
text.
Keep color changes made by app for the current draw cycle.
2005-04-18 10:20:51 +00:00
Duane Clark
ddf9da794e
The datetime should be initialized with local time.
2005-04-18 09:52:18 +00:00
Duane Clark
1f7d6ccc2e
Add support for direct keyboard input to numeric fields.
2005-04-16 10:48:02 +00:00
Duane Clark
b00d5769da
Hour '0' corresponds to 12AM.
2005-04-15 16:10:39 +00:00
Robert Shearman
a3b4e20503
Fix TB_GETBUTTONSIZE to return the correct width/height for no
...
buttons.
2005-04-15 14:09:05 +00:00
Robert Shearman
21f9465067
- Use SetWindowPos to move the buddy window into position instead of
...
destroying it and recreating it at the new position.
- Clear the background in WM_VSCROLL to avoid problems with
antialiased text drawing on top of itself multiple times.
2005-04-15 14:08:39 +00:00
Dimitrie O. Paun
f35db0144c
Keep track of WS_DISABLED explicitely, as it doesn't generate a
...
WM_STYLECHANGED message.
2005-04-14 13:58:45 +00:00
Dimitrie O. Paun
2e0a14820b
Add support for LVN_ODSTATECHANGED.
...
Minor typo fixes.
2005-04-14 13:58:25 +00:00
Vitaliy Margolen
3b3574a468
Send notifies after invalidating changed areas.
...
Don't use custom draw returned colors for control.
2005-04-14 13:56:12 +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
Vitaliy Margolen
b58004d9ae
Draw only visible tabs.
2005-04-13 14:40:12 +00:00
Andreas Bjerkeholt
745ee3a67e
Swedish translation.
2005-04-13 11:04:49 +00:00
Robert Shearman
ea84f49393
Use ES_AUTOHSCROLL for edit box.
2005-04-12 10:16:23 +00:00
Dimitrie O. Paun
9da93dd879
Tab unicodification.
2005-04-11 14:21:15 +00:00
Dimitrie O. Paun
30a66a051c
MonthCal unicodification.
2005-04-11 14:21:00 +00:00
Dimitrie O. Paun
e50960b3d8
Audit the code against Comctl32.dll version 6.0.
...
Handle notification and styles as in the other controls.
Maintain the const for strings throughout parsing.
2005-04-11 12:58:30 +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
6b10c324c5
Assorted spelling fixes.
2005-03-30 17:08:31 +00:00
Robert Shearman
5a6461071e
Fix size passed to SPI_NONCLIENTMETRICS.
2005-03-27 17:52:16 +00:00
Dimitrie O. Paun
8df71a6cfa
Use {Alloc,ReAlloc,Free}() instead of Heap{Alloc,ReAlloc,Free}().
2005-03-25 20:49:00 +00:00
Dimitrie O. Paun
0ac16713fd
Proper handling for GWL_STYLE.
...
Minor cleanups.
2005-03-25 10:27:11 +00:00
Dimitrie O. Paun
ecc850c460
Fix a memory leak in toolbar. Avoid casts.
2005-03-25 10:27:00 +00:00
Dimitrie O. Paun
b1d65cb15d
Handle wParam in WM_PAINT properly: if non-null, it is the hdc we are
...
supposed to use to draw into.
2005-03-25 10:26:10 +00:00
Dimitrie O. Paun
8e276da00f
Add Robert Shearman's explanation about WM_NCPAINT.
...
Move testing comments in a more appropriate place.
2005-03-25 10:25:45 +00:00
Jakob Eriksson
9ed61de9a2
Get rid of HeapAlloc casts.
2005-03-24 21:01:35 +00:00
Huw Davies
b675c1a92e
The depth of the colour bitmap needs to match that of the screen.
2005-03-24 15:07:40 +00:00
Dimitrie O. Paun
4cfce24f0e
Complete the unicodification of comctl32undoc.
2005-03-24 15:07:23 +00:00
Francois Gouget
93416cdaf7
Assorted spelling fixes.
2005-03-23 13:15:18 +00:00
Jason Edmeades
06c7c90a69
Make the treeview correctly search when the top index is selected.
2005-03-23 11:58:58 +00:00
Dimitrie O. Paun
a46b7fb404
Complete unicodification of the treeview common control.
2005-03-23 10:24:42 +00:00
Dimitrie O. Paun
67607f9e4c
Complete unicodification of the tooltips common control.
2005-03-23 10:24:20 +00:00
Dimitrie O. Paun
e912c6a931
Complete unicodification of the toolbar common control.
...
Move a header comment for consistency with the other controls.
Very small alignment fixes.
2005-03-23 10:24:06 +00:00
Dimitrie O. Paun
2c236638a9
Complete unicodification of the rebar common control.
2005-03-23 10:23:41 +00:00
Dimitrie O. Paun
2fbd839e90
Complete unicodification of the propsheet common control.
2005-03-23 10:23:23 +00:00
Dimitrie O. Paun
4904c8b52b
Complete unicodification of the header common control.
2005-03-23 10:23:06 +00:00
Dimitrie O. Paun
8d435f04f8
Complete unicodification of the flatsb common control.
2005-03-23 10:22:52 +00:00
Dimitrie O. Paun
2e0431ea44
Complete unicodification.
2005-03-23 10:22:37 +00:00
Jakob Eriksson
461c830745
Eliminate HeapAlloc casts.
2005-03-22 18:26:06 +00:00
Dimitrie O. Paun
ad23586ce1
Pull the WM_TIMER handling into its own function.
...
ANIMATE_DrawFrame shouldn't worry about locking, the lock should be
held by the caller.
2005-03-21 11:27:49 +00:00
Robert Shearman
6a365e0074
iSelectedImage is allowed to be 0.
2005-03-21 10:51:14 +00:00
Dimitrie O. Paun
dcd3fde210
Complete unicodification.
2005-03-21 10:30:33 +00:00
Dimitrie O. Paun
d09baae23d
Proper handling for GWL_STYLE.
...
Store and use hwndSelf in the PAGER_INFO.
Pass the infoPtr around instead of hwnd.
Use proper types in the function signatures.
Fix a few return statements.
2005-03-21 10:30:18 +00:00
Dimitrie O. Paun
3e7c8e78dc
Delete the critical section when freeing up the infoPtr.
2005-03-21 10:27:58 +00:00
C. Scott Ananian
f65e415d64
UPDOWN_GetBuddyInt should not fail when the control is empty.
2005-03-18 14:09:12 +00:00
Alexandre Julliard
654eee5291
Revert changes to the painting code, the WM_CTLCOLORSTATIC message
...
should not be sent from the animation thread.
2005-03-18 10:30:13 +00:00
C. Scott Ananian
793fd5646b
Started a unit test case for the updown control.
2005-03-16 19:52:40 +00:00
Dimitrie O. Paun
fa241ee719
Audit the control against Comctl32.dll version 6.0.
...
Proper handling of GWL_STYLE.
Implement WM_CLOSE. Fix WM_SIZE implementation.
Small cleanups.
2005-03-16 19:47:52 +00:00
Dimitrie O. Paun
e3335ee7c1
Cleanup and simplify the painting code.
...
Fix a potential bug along the way.
2005-03-15 15:39:38 +00:00
Evan Deaubl
20c93c2c0d
TREEVIEW_DoSelectItem should not do any of the TVGN_FIRSTVISIBLE work
...
if the newSelect parameter is NULL.
2005-03-14 10:51:06 +00:00
Jon Griffiths
6cf8602ebb
Comment out a test that crashes on early versions.
2005-03-14 10:10:00 +00:00
Dimitrie O. Paun
5294ba5816
Unicodification and typesafe interfaces.
2005-03-14 10:09:24 +00:00
Dimitrie O. Paun
50a0c8f734
Unicodification. Small cleanups.
2005-03-03 13:51:47 +00:00
Francois Gouget
fbb3343547
Assorted spelling fixes.
2005-03-02 13:53:50 +00:00
Robert Shearman
50d77e6877
- Fix one more place where the code assumes row indices are
...
zero-based.
- Document a known bug in the layout code.
2005-03-02 10:12:52 +00:00
Dimitrie O. Paun
5dfdd18abc
Fix indentation for consistency with the rest of the file.
2005-03-02 10:08:29 +00:00
Filip Navara
65bd0962a8
Implement SB_SETBORDERS.
2005-03-01 11:44:38 +00:00
Robert Shearman
6d582fed50
- Make row number be zero-based.
...
- Improvements to dumping functions to not dump out fields that may
not have been filled in.
2005-03-01 10:44:15 +00:00
Jon Griffiths
3388eb0885
Remove unneeded calls to TAB_GetInfoPtr(), const fixes, inline small
...
funcs & remove unused parameters.
2005-02-25 16:19:07 +00:00
Jon Griffiths
eb5bf7dd38
Documentation spelling fixes.
2005-02-25 14:07:56 +00:00
Michael Stefaniuc
443f9273b1
- ImageList_LoadImage{A,W} were basicaly a cut'n'paste of each
...
other. Removed the A variant and did a A->W translation.
- ImageList_LoadImageW: get the bitmap size from the image itself and
not from the mask (ImageList_LoadImageA did that).
2005-02-24 12:46:57 +00:00
Francois Gouget
d95630ebf3
Add the -noname flag to match the Platform SDK.
2005-02-23 15:41:14 +00:00
Maxime Bellengé
f28afa1047
Correctly displays the text with ellipsis when there is not enough
...
room in a header item and an image from an imagelist is displayed on
the right of the text.
2005-02-23 12:41:43 +00:00
Martijn Vernooij
2c2db4b486
Scroll instead of repainting when expanding/collapsing trees.
...
Don't repaint on hover if 'hot tracking' isn't on.
2005-02-22 19:31:01 +00:00
Maxime Bellengé
33c7e15f77
Take into account the new size of a column when the header size
...
change.
2005-02-21 20:38:31 +00:00
Maxime Bellengé
7462a8f53f
Fix SetItem so that items don't get wrongly re-ordered.
2005-02-21 18:34:17 +00:00
Alex Villacís Lasso
18bfe6a095
Change SUBLANG_DEFAULT to SUBLANG_NEUTRAL for LANG_SPANISH in all
...
resources, so that Spanish locales other than Spain also use Spanish
resources.
2005-02-16 21:10:59 +00:00
Dmitry Timoshkov
39f960bdfa
- Fix prototypes of GetClassLongA/W, GetClassLongPtrA/W and
...
SetClassLongA/W according to SDK definitions.
- Add prototypes for SetClassLongPtrA/W, protect some GWL_ and GCL_
constants from using in Wine or in _WIN64 mode.
- Fix all places in Wine affected by the above changes.
2005-02-15 21:51:06 +00:00
Francois Gouget
4d801b66e6
Assorted spelling fixes.
2005-02-10 19:19:35 +00:00
Alexandre Julliard
d7726c3a73
Store the "managed" flag as a window property instead of the
...
Wine-specific WS_EX_MANAGED style bit.
2005-02-01 18:53:59 +00:00
Thomas Weidenmueller
e8e42e4614
When a toolbar doesn't have the TBSTYLE_FLAT style redrawing the
...
buttons when moving the mouse is not necessary.
2005-01-28 17:19:29 +00:00
Francois Gouget
da8b3dd7f2
Assorted spelling fixes.
2005-01-26 21:09:04 +00:00
Tinus
aee4f25ed6
Properly allow removing toolbar bitmaps by changing it into 0.
2005-01-24 18:59:13 +00:00
Alexandre Julliard
32d9dab38d
Authors: Gunnar Dalsnes <hardon@online.no>, Ge van Geldorp <gvg@reactos.com>
...
STATUSBAR_SetTextT:
- ntext wasn't freed on return if text was unicode
- part->text was always freed, but if the previous style was
SBT_OWNERDRAW, part->text would contain 32bit data
- free old text if new style is SBT_OWNERDRAW but old style wasn't
2005-01-21 16:18:38 +00:00
Paul Vriens
f93a0780c9
Remove the checking/setting of the defaults in TRACKBAR_Create.
2005-01-17 13:38:44 +00:00
Paul Vriens
740d6bc3a0
Remove needless check for horizontal or vertical pager.
2005-01-17 13:38:28 +00:00
Dimitrie O. Paun
3bc9380619
Use the LVCFMT_{LEFT,RIGHT,CENTER} enumeration flags properly.
2005-01-14 16:21:41 +00:00
Jon Griffiths
ae720e6d7c
Increase the required rectangle size before drawing big +/-.
2005-01-14 15:13:24 +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
Robert Shearman
040850e8c5
Don't highlight text in non-TVS_TRACKSELECT mode.
2005-01-11 10:39:33 +00:00
Mike McCormack
07aa50bc48
Fix image list mask and blending.
2005-01-10 14:29:20 +00:00
Evan Deaubl
c84832160c
GetItemA/W on header controls should handle message even if index is
...
invalid.
2005-01-10 14:25:30 +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
Crestez Leonard
30cde9b1a8
Fix bug with Treeview_SelectItem reselecting the same item.
2005-01-07 15:34:25 +00:00
Ulrich Czekalla
b13b2474da
WM_GETTEXTLENGTH should return zero for owner drawn status bars.
2005-01-06 19:44:24 +00:00
Francois Gouget
9d589acc26
Assorted spelling fixes.
2005-01-04 20:39:54 +00:00
Vitaly Lipatov
6971e1d762
Add comments, fix negative value from GetCurFocus.
2005-01-03 20:12:42 +00:00
Michael Stefaniuc
5ad7d858e0
Do not check for non NULL pointer before HeapFree'ing it. It's
...
redundant.
2004-12-23 17:06:43 +00:00
Francois Gouget
6fb1a20020
Assorted spelling fixes.
2004-12-20 19:27:06 +00:00