Dimitrie O. Paun
1da4ea287d
Fix a bunch of bugs related to scrolling.
2002-09-12 22:26:08 +00:00
Dimitrie O. Paun
ee3fdd8038
- Complete rewrite of scrolling code: smaller, faster, cleaner.
...
We now properly scroll the window, rather than invalidating it on
every scroll action.
- A bug or two got squashed.
- Many code cleanups, simplifications, etc.
- Some documentation updates.
2002-09-12 18:10:41 +00:00
Dimitrie O. Paun
0c6dd5b9e0
Greatly improved drawing code: eliminates all flicker, faster, cleaner
...
tics drawing, better tooltip positioning, code cleanups and
simplifications.
2002-09-12 00:51:29 +00:00
Dimitrie O. Paun
318817f723
- Rewrite the drawing code. It now is much smaller, easier to follow,
...
and faster. Moreover, it now supports the dwRop operation, and it is
in good shape to support the missing features.
- Draw the dragged image semi-transparently (will work when we support
alpha blending).
2002-09-12 00:51:09 +00:00
Dimitrie O. Paun
c1e3cb8d5b
- Implement autopaging.
...
- Remove incorrect FIXMEs.
- Small cleanups.
2002-09-11 00:47:32 +00:00
Dimitrie O. Paun
70b2f44a47
Code cleanups and simplifications, documentation updates.
2002-09-11 00:47:09 +00:00
Dimitrie O. Paun
db6c9b0d8e
- Pass infoPtr around, instead of hwnd.
...
- Implement hot cursor.
- Update list of unimplemented messages.
- Simplify the code for editing labels.
- Start working towards more type-safe functions.
- Small code cleanups.
- Some docu updates.
2002-09-09 19:22:19 +00:00
Dimitrie O. Paun
856a91b734
- Fix bug in mouse position reading.
...
- Remove useless code.
- Small code cleanups.
2002-09-09 19:21:30 +00:00
Dimitrie O. Paun
d71749798b
- Fix the tics drawing code.
...
- Fix the selection area calculation & drawing.
- Implement TBS_DOWNISLEFT.
- Make use of fLocation (TBTS_{TOP,LEFT,BUTTOM,RIGHT}).
- Lots of code cleanups and simplifications.
2002-09-09 19:20:35 +00:00
Dimitrie O. Paun
71f99baf22
Add support for the TTM_GETBUBBLESIZE message.
2002-09-09 19:20:05 +00:00
Michael Stefaniuc
025c0b716b
Prepare dlls/{comctl32,gdi,msvideo,setupapi,shell32,twain,winmm} for
...
the conversion of HWND to a void*.
2002-09-06 19:41:17 +00:00
Dimitrie O. Paun
c514a78167
- Eliminate flicker.
...
- Much improved thumb dragging.
- Fix tooltip behaviour.
- Fix tick handling.
- Streamlined drawing code.
- Decent paging width.
- Handle OOM gracefully.
- Add proper notifications.
- Fix range setting.
- Start support for custom draw.
- Fix a bunch of bugs.
- Code cleanups.
- Update documentation.
- Spacing fixes.
2002-09-06 18:33:57 +00:00
Dimitrie O. Paun
1c628e06b9
Add generic notification support for the common controls.
2002-09-06 18:33:18 +00:00
Dimitrie O. Paun
d969605b87
- Complete support for rgb{Fg,Bk} in DrawIndirect.
...
- Rename VOID to void.
- Documentation cleanup.
- Fix ILD_TRANSPARENT handling.
2002-09-06 18:32:46 +00:00
Dimitrie O. Paun
4d1e49dc67
- Fix ImageList_GetIcon to use ImageList_* functions for
...
completeness.
- Tiny code cleanups.
- Documentation updates.
2002-09-04 23:31:48 +00:00
Dimitrie O. Paun
e4ddd2ac7d
- Unicodification (use Unicode functions & types consistently).
...
- Pass infoPtr around instead of hwnd.
- Proper type-safe signatures for functions processing messages.
- Fix the types for some of the control's parameters.
- Implement [GS]ET_UNICODEFORMAT.
- Few indentation and spacing fixes.
- Tidy up docu.
2002-09-04 23:31:21 +00:00
Dimitrie O. Paun
cb1f1454ff
Small updown cleanup.
2002-09-04 18:45:42 +00:00
Dimitrie O. Paun
7ad3d12a52
- implement support for xBitmap and yBitmap in ImageList_DrawIndirect
...
- small code, docs, and messages cleanups
2002-09-04 18:44:46 +00:00
Steven Edwards
6123951a29
Update some .cvsignore files for building on Windows.
2002-08-30 00:04:03 +00:00
Dimitrie O. Paun
ca13564733
Implement CBES_EX_NOSIZELIMIT style.
2002-08-30 00:02:20 +00:00
Guy L. Albertelli
027034e221
- Reduce the number of messages being passed to itself by using the
...
internal routines.
- Fix problem in _SetIconSpacing found by recent change.
- Add initial support for correct icon sizing.
- A few extra traces.
2002-08-29 23:58:42 +00:00
Dimitrie O. Paun
69c9c432e4
- implement CBEN_DRAGBEGIN
...
- remove useless FIXMEs
2002-08-28 22:21:46 +00:00
Mike McCormack
d1b24defdc
Change the icon spacing when setting the image list.
2002-08-27 19:41:56 +00:00
Aric Stewart
86198965ad
Windows expects the edit window to hang around and be valid.
2002-08-27 19:36:33 +00:00
Dimitrie O. Paun
f14b527f40
Implement CBES_EX_PATHWORDBREAKPROC for the ComboEx control.
2002-08-27 18:16:48 +00:00
Jacek Bator
ad0b42a099
Added Polish translations.
2002-08-27 00:35:28 +00:00
Andriy Palamarchuk
a6affaa014
Implemented processing of PSM_SETCURSELID message.
2002-08-26 21:47:06 +00:00
Dimitrie O. Paun
9ff6e77698
- implement CBES_EX_CASESENSITIVE
...
- fix severe bug in CB_FINDEXACTSTRING
- small cleanups
2002-08-26 21:46:25 +00:00
Dmitry Timoshkov
cc7042f9ec
Implement comctl32.417 and shlwapi.299. This avoids crash in IE's
...
History.
2002-08-16 01:43:11 +00:00
Mike McCormack
5a6a71f39e
ImageList_SetImageCount should set nCurImage (the number of
...
images in the list) to the value specified, and expect that
ImageList_ReplaceImage is called to set the new images.
2002-08-16 01:35:43 +00:00
Alexandre Julliard
473f3de872
Reduce flicker on updates.
2002-08-13 18:08:45 +00:00
Mike McCormack
06effbf07a
Duplicate the font handle passed through WM_SETFONT, because it does
...
not belong to us and is not ours to free.
2002-08-13 18:08:15 +00:00
Dmitry Timoshkov
2f2e4fab6c
Added WM_GET/SETTEXT support.
2002-08-13 18:07:02 +00:00
Patrik Stridvall
4325554aef
Fixed some issues found by winapi_check.
2002-08-09 01:07:29 +00:00
Alexandre Julliard
fb2eca812d
Import comctl32 functions from shell32 by ordinal.
...
Removed some unnecessary ordinals in comctl32.spec.
2002-07-29 00:24:58 +00:00
Guy L. Albertelli
6737a5926a
- Implement LVM_SCROLL and adjust scrolling for all formats.
...
- Implement standard Comctl32 color handling.
- Eliminate bogus ERR messages for application messages.
2002-07-23 20:54:52 +00:00
Michael Stefaniuc
15fc23693f
ImageList_Remove returns TRUE when removing all images of an empty
...
ImageList.
2002-07-22 20:38:41 +00:00
Dimitrie O. Paun
7229935023
Allow the application to subclass a buddy edit (spotted by Guy
...
L. Albertelli).
2002-07-19 00:27:52 +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
Bill Medland
69f18275d5
Correction to header order maintenance when a dummy first item is
...
added and then deleted (as suggested by MSDN to handle the fact that
the first column of a listview is left justified). Also removed
redundant casts.
2002-07-16 01:14:46 +00:00
Bill Medland
b99101230f
DeleteColumn should return success even for uOwnerData.
2002-07-16 01:10:26 +00:00
Guy L. Albertelli
073d09a17f
- Improve traces.
...
- Changed default column width to 128 to match native and make that
the mimimum for LVS_SMALLICON and LVS_LIST styles.
- Corrected max value for LVS_LIST style scroll info.
- Issue our own ShowScrollBar like the native with proper test.
- Correct alignment when using LVS_ICON style.
- Correct FIXMEs for unimplemented styles.
- Correct rect size computation for LVS_LIST.
- Reset scroll bars when changing styles.
- Implement WM_WINDOWPOSCHANGED.
2002-07-10 03:00:22 +00:00
Gregg Mattinson
bac71315d2
Removed non-static structure initializers.
2002-07-03 21:06:58 +00:00
Rok Mandeljc
fd40708e38
Added Slovenian resources.
2002-06-28 23:28:36 +00:00
Guy L. Albertelli
176f5cf62c
Add TCM_SETCURSEL when setting page current.
2002-06-28 17:31:57 +00:00
Vincent Béron
e35580f4c9
Fixed some various comparisons wrt signedness.
2002-06-21 22:25:17 +00:00
Alexandre Julliard
77afd6c47e
Made some more spec file entries optional or unnecessary.
...
Fixed a few DLLName/DLLFileName mismatches.
2002-06-21 19:15:45 +00:00
Guy L. Albertelli
533905e2ab
- Add routines to dump out tab items internally and externally
...
- Adjust TAB_SetItemBounds to split vertical tabs more like the native.
- Document major difference in laying out the vertical tabs.
- Fix drawing of icons. Wrong item padding used in vertical case.
- Fixed size of horizontal padding.
2002-06-20 22:45:29 +00:00
Guy L. Albertelli
6c7769e488
Support images on the tabs of pages that are added (not just the
...
first).
2002-06-14 23:26:37 +00:00
Dmitry Timoshkov
e4a33c0660
Cosmetic fix.
2002-06-14 00:01:44 +00:00
François Gouget
9e82510ec8
Fix handling of strings that do not finish with "||".
...
Fix the indentation of the while loop in TOOLBAR_AddStringW.
2002-06-13 22:04:45 +00:00
Guy L. Albertelli
f9731a4ee7
- Correct page rectangle calculation.
...
- Improve traces.
2002-06-13 19:10:28 +00:00
Paul Rupe
21fbb40cb7
Support for LVM_SUBITEMHITTEST; check for out-of-bounds subitem index
...
in LISTVIEW_GetSubItemRect.
2002-06-10 22:47:41 +00:00
Won-kyu Park
ff4f41d81e
Added Korean resources.
2002-06-10 02:32:31 +00:00
Gerald Pfeifer
f1451e6650
Warning fix.
2002-06-04 00:52:01 +00:00
Alexandre Julliard
7cae558bdc
Removed some more trailing whitespace.
2002-06-01 02:55:48 +00:00
Vincent Béron
9a62491660
Removed trailing whitespace.
2002-05-31 23:06:46 +00:00
Sander van Leeuwen
9851f7a902
Match behaviour of ImageList_LoadImageA wrt cx parameter (when set to
...
zero).
2002-05-30 20:38:13 +00:00
Alexandre Julliard
13b0dc5fde
Replaced swprintf by wsprintfW.
2002-05-29 19:25:50 +00:00
Sander van Leeuwen
bbee7ec711
- Check for valid part nr in STATUSBAR_GetTextLength.
...
- TRACE fix in STATUSBAR_SetTextT; SBT_OWNERDRAW pointer isn't always
a string pointer.
2002-05-29 19:08:18 +00:00
Guy L. Albertelli
dea6820b29
- Fixed drawing of borders to that of native (uses DrawEdge).
...
- Fixed drawing of separators to match the native.
- Fixed height of tabs and buttons to match native.
- Add/improved traces.
- Handle WM_SYSCOLORCHANGE message.
2002-05-29 00:32:02 +00:00
Maciek Kaliszewski
2ad82e119e
Fixed memory allocation bug in PROPSHEET_CollectPageInfo.
2002-05-28 22:41:19 +00:00
James Juran
32886f6b88
Add missing \n to output messages.
2002-05-24 21:17:59 +00:00
Alexandre Julliard
4344c368cb
Got rid of GetSysColorPen.
2002-05-20 18:15:28 +00:00
Alexandre Julliard
2ab7625934
Removed most imports of ntdll since we no longer import Wine internal
...
functions from there.
2002-05-17 03:37:12 +00:00
Alexandre Julliard
9b6f433ebb
Implemented strtolW/strtoulW in libwine_unicode and used it to replace
...
wcstol and friends.
2002-05-16 18:58:47 +00:00
Steven Edwards
fb2a70463e
Fixed snprintf warnings.
2002-05-16 18:31:27 +00:00
Alexandre Julliard
ad53383f9b
Added winebuild support for generating a .dbg.c file containing the
...
debug channels definitions.
Made win32 the default type for spec files.
Ignore C compiler in winebuild so we can simply pass it $(DEFS).
Removed type win32 and debug_channels from spec files.
Fixed winebuild to always generate correct C identifiers (reported by
Vincent Béron).
2002-05-14 20:54:58 +00:00
Sander van Leeuwen
d919c27a97
- Center property sheet page during creation (padding)
...
(some applications rely on this behaviour when resizing the page)
- Mask away WS_THICKFRAME page style
- Page navigation by resource id (by unknown author)
2002-05-14 18:38:07 +00:00
Aric Stewart
5679be34d9
Do not invalidate the rect while drawing.
...
Implemented GetSubItemRect and a quick change to notifications sent
for OwnerData items.
2002-05-14 03:58:46 +00:00
Guy L. Albertelli
ec67a95525
- Change traces to trace full window handle and improve some traces.
...
- Send WM_NOTIFY to parent not to self.
- Implement PGS_AUTOSCROLL via MOUSEMOVE and Timer routines.
2002-05-14 03:50:53 +00:00
Guy L. Albertelli
f8acf0c440
Support PGN_SCROLL notify and return either the button heigth or width.
2002-05-14 03:50:23 +00:00
Guy L. Albertelli
7f9baba139
Fixed issues with Unicode conversion. Certain strings were not
...
converted, but then processed as converted.
2002-05-14 03:48:48 +00:00
Alexandre Julliard
67371bcc8d
Added -res option to specify resources on winebuild command-line.
...
Added -exe mode to generate a .spec.c for an exe without having to
provide a .spec.
Removed some no longer needed spec files.
Removed .dll extension in makefiles import specifications.
2002-05-11 23:06:32 +00:00
Alexandre Julliard
32459912dc
Moved imports specification from the .spec into the Makefile so that
...
it can be used on platforms that don't build a .spec.c file.
2002-05-09 00:05:48 +00:00
Alexandre Julliard
140e7222e0
Removed more code at Hidenori's request.
2002-05-05 19:40:57 +00:00
Bill Medland
8fe5e0fcfa
Moved drawing of owner-drawn parts to after the background and edge.
...
Also added some indentation to the code.
2002-05-02 21:35:50 +00:00
Christian Costa
751f683f07
TOOLTIPS_GetTipText: Accept null module instance, Loadstring can
...
handle it.
2002-05-02 21:35:23 +00:00
Marco Bizzarri
f596eceb22
Implemented the TB_REPLACEBITMAP message.
2002-04-29 23:32:07 +00:00
Patrik Stridvall
fc2be7edcc
Fixed some issues found by winapi_check.
2002-04-29 18:48:56 +00:00
Marcus Meissner
5b85db3db0
Fixed StatusBar SetText again, added some comments.
2002-04-29 17:12:01 +00:00
Alexandre Julliard
3b1e3c8f9b
Fixed warnings.
2002-04-27 21:16:28 +00:00
Guy L. Albertelli
14a913c28d
- Improve I_IMAGECALLBACK handling and support I_IMAGENONE.
...
- Implement TBN_HOTITEMCHANGE in the mouse move routine.
2002-04-24 21:22:17 +00:00
Dimitrie O. Paun
55f9b75163
Fix WM_NOTIFYFORMAT handling.
2002-04-23 19:27:10 +00:00
Dimitrie O. Paun
e569b73d5b
- implement WM_NOTIFYFORMAT
...
- fix grip painting
- make use of DrawStatusText to paint control
2002-04-23 19:26:55 +00:00
Mehmet Yasar
6646c46e5b
Add more check inside SB_SETTEXT and SB_GETTEXT.
2002-04-17 16:48:16 +00:00
Dimitrie O. Paun
52e0e9c1b9
Complete implementation for DrawStatusText{A,W}.
2002-04-17 16:47:48 +00:00
Guy L. Albertelli
fc4524d822
Implement NM_CUSTOMDRAW notification.
2002-04-14 19:30:58 +00:00
Dimitrie O. Paun
d5d431feae
- implement LPSTR_TEXTCALLBACK
...
- fix many memory-management bugs
- many Unicode fixes
- fix indentation in a few places
- bits of code cleanup
2002-04-11 17:33:47 +00:00
Uwe Bonnes
07a308d606
LISTVIEW_GetColumnT: care for the format of the string.
...
LISTVIEW_Create: send HDM_SETUNICODEFORMAT message.
2002-04-11 17:31:45 +00:00
Dimitrie O. Paun
63231c52d7
- get rid of parent handle from info struct
...
- store hwnd in info struct, do not pass it around
- use unicode functions wherever possible
- consistent indentation
- bugs in Unicode handling fixed
- fix handling of error conditions
- fix initialization bugs, etc.
- complete tooltip support
- typesafety
- update the FIXME list to the latest specs
2002-04-08 22:44:20 +00:00
Dimitrie O. Paun
43230a2f42
- fix indentation
...
- handle all out-of-memory cases
- better drawing code
- fix CBES_EX_NOEDITIMAGE handling
- implement CBES_EX_NOEDITIMAGEINDENT
- implement I_{INDENT,IMAGE}CALLBACK
- fix notification code for ANSI/Unicode
- make use of iOverlay image
2002-04-08 20:16:01 +00:00
Dimitrie O. Paun
7c3fca16c5
- fix edit box placement
...
- reorganize drawing for proper handling of edit box
- typesafety when processing messages
- subclass edit to handle up/down arrows
- more robust handling of failure cases
- numerous bugs fixed
- complete unicodification
- more specific debug messages
- remove cvs log info from file
- consistent indentation
2002-04-05 21:16:19 +00:00
Guy L. Albertelli
ffa48e0416
- Use the new comctl32 color array for the colors. Provides better
...
support for the TB_SETCOLORSCHEME.
- Do some optimizations.
- Correct computation of nHeight and PGN_CALCSIZE.
- Implement the undocumented 045E message.
2002-04-05 21:15:06 +00:00
Guy L. Albertelli
35d8e1ec0a
- Keep track of all system colors used by comctl32.dll.
...
- Provide routine to support the WM_SYSCOLORCHANGE message.
2002-04-05 21:14:05 +00:00
Guy L. Albertelli
71e4b98f5a
Adjust the child offset x value based on band style RBBS_CHILDEDGE.
2002-04-05 21:13:32 +00:00
Guy L. Albertelli
1251aa79cc
- Try to match the native control for the SetBkColor message.
...
- Correct processing in NCCalcSize message processing.
2002-04-05 21:13:07 +00:00
Huw D M Davies
b3b0ddb859
Fix off by one error in HEADER_InsertItemW.
2002-04-03 22:43:27 +00:00
Dimitrie O. Paun
59d9dd3910
- correct notifications
...
- behaviour closer to native
- better drawing
- multiple bugs fixed
- faster & cleaner code
- consistent indentation
2002-04-02 19:16:45 +00:00
Dimitrie O. Paun
00df897119
Fix two compilation warnings.
2002-04-02 19:16:08 +00:00
Dimitrie O. Paun
dd585157fe
- implement UDS_HOTTRACK
...
- implement NM_RELEASEDCAPTURE
- implement UDM_[GS]ETUNICODEFORMAT
- get rid of WM_NCCREATE processing
- use InvalidateRect instead of a synch refresh
- implement auto auto arrow press on key presses
- more code cleanups
- better drawing, closer to native
2002-04-01 20:57:44 +00:00
Dimitrie O. Paun
a7dbc6c823
- updown unicodification
...
- better/cleaner buddy handling
- few bugs fixed
- more testing
- consistent indentation
2002-03-28 22:05:18 +00:00
Guy L. Albertelli
2cb7c3a472
- Implement CCM_{GET|SET}COLORSCHEME.
...
- Implement WM_NOTIFYFORMAT and correct passing WM_NOTIFY with correct
message call.
- Ignore PGM_FORWARDMOUSE like native.
2002-03-22 19:11:38 +00:00
Guy L. Albertelli
66eda939ee
Reanalyze button status during NCCalcSize processing because size of
...
window may have changed.
2002-03-22 19:11:11 +00:00
Bill Medland
f12f4d7d0c
No need for the fixme on a simple TBSTYLE_SEP.
2002-03-20 22:49:44 +00:00
Alexandre Julliard
c1bfca04e1
Changed builtin dlls file names to make it clear they are not normal
...
Unix libraries, and install them in $libdir/wine instead of $libdir to
avoid name conflicts in /usr/lib.
2002-03-20 22:19:06 +00:00
Guy L. Albertelli
b4994d18e9
- Preliminary implementation of TVS_NOSCROLL and TVS_NOHSCROLL
...
- Implement A and W versions of WM_NOTIFY based on response to
WM_NOTIFYFORMAT. Note that the EDITLABEL notifies are not done.
- Implement WM_NOTIFYFORMAT.
2002-03-20 01:29:04 +00:00
Duane Clark
b7d819953e
Add LVS_NOSORTHEADER support.
...
Sort column on HDN_ITEMCLICKA too.
Do not edit labels if icon was clicked.
Fix the incorrect icon width in my earlier patch.
2002-03-20 00:53:42 +00:00
Guy L. Albertelli
6db25faed2
- Correct RBN_CHILDSIZE rect value for CCS_VERT rebar.
...
- Do UpdateWindow only if doing redraws when doing layout.
2002-03-20 00:49:06 +00:00
Duane Clark
874e14c57e
TOOLBAR_LButtonUp should work even if ReleaseCapture was already
...
called.
2002-03-19 02:11:03 +00:00
Duane Clark
b6c28ff62f
Add support for report mode text justification.
2002-03-11 05:02:11 +00:00
Hidenori Takeshima
e4745cbfe9
Added and fixed some Japanese resources.
2002-03-11 01:16:42 +00:00
Guy L. Albertelli
8a8457e25a
Add support for WM_WINDOWPOSCHANGED to save new origin of window.
2002-03-11 01:16:02 +00:00
Guy L. Albertelli
68c7b55e1f
- Add scaffolding for TB_{GET|SET}PADDING.
...
- Replace wrong test for CCS_VERT with correct test for undocumented
TBSTYLE_EX_ style 0x04.
- Add support for undocumented TB_SETBUTTONSIZE where the size is
zero, sets to default value.
- Issue FIXMEs for unsupported extended styles.
- Implement first try at undocumented toolbar message 0x0463.
2002-03-11 01:11:19 +00:00
Duane Clark
f730157ce6
Test bUnicode and call appropriate DrawText routine.
2002-03-11 01:08:29 +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
Duane Clark
ad079d6cbb
Ask for correct number of chars in EditLblWndProcT.
2002-02-28 21:42:25 +00:00
Duane Clark
bdd77388b9
LISTVIEW_InsertColumnT can be called with a width of
...
LVSCW_AUTOSIZE_USEHEADER.
Use the correct strings when column autosizing on columns other than
column 0.
LVSCW_AUTOSIZE_USEHEADER uses both item and header strings.
2002-02-28 20:41:39 +00:00
Andreas Mohr
8bc7f16caa
Spelling/alignment fixes.
2002-02-27 01:34:08 +00:00
Bill Medland
df0f236038
Centre text correctly for the selected item.
...
Draw complete background for the selected item.
Calculate the size of a large icon more correctly (including multiline
labels).
2002-02-27 01:24:39 +00:00
Guy L. Albertelli
b2f0a6f5e9
- Support CCS_VERT as alternative for TBSTYLE_WRAPABLE.
...
- TB_INSERTBUTTONW was not as functional as the 'A' version. They now
match.
2002-02-27 01:22:58 +00:00
Guy L. Albertelli
8fe19fa7bb
Implement EM_FMTLINES message based on relay trace of native.
2002-02-26 00:38:42 +00:00
Guy L. Albertelli
9ce993206d
Fix another bad test. Caused regression in IE 4.
2002-02-26 00:34:48 +00:00
Charles Duffy
6a45c0b4b4
Stop TOOLBAR_MeasureString from dying on empty strings.
2002-02-26 00:34:19 +00:00
Dave Hawkes
770a5bfa2d
Partially repair hotspot handling.
2002-02-26 00:33:51 +00:00
Gerard Patel
019ae8a22f
LVM_GetItemRect should not take text size in account for LVIR_LABEL in
...
report mode.
2002-02-25 19:00:03 +00:00
Bill Medland
d10c9a47b8
Implement multiline labels in the Large Item view by using DrawText
...
Note that this now highlights weaknesses in the label measuring code
etc. which cannot correctly handle multiline labels.
2002-02-22 21:23:02 +00:00
Guy L. Albertelli
a8bba78485
Fix problems in DPA_Merge exposed by previous code cleanup.
2002-02-21 20:08:29 +00:00
Ondrej Macek
13f1fb23fe
Fix of ListView invalidation in LISTVIEW_SetBkColor.
2002-02-19 18:32:12 +00:00
Patrik Stridvall
651a8ba880
Added some defines for compatibility with Windows headers.
2002-02-15 19:12:35 +00:00
Martin Dalecki
be951f359a
Some artwork on the default icons.
2002-02-14 19:23:01 +00:00
Guy L. Albertelli
d3a52c2890
When the commandID was being treated as the index, no check for index
...
greater than number of buttons was done. Now fixed.
2002-02-12 18:43:56 +00:00
Guy L. Albertelli
d2ace6addd
Fix regression in some programs due to CLR_DEFAULT fix. Noticed in
...
control-spy rebar.exe.
2002-02-12 18:43:24 +00:00
Guy L. Albertelli
8961f1624e
Correct tests involved with processing the LVIF_DI_SETITEM flag.
2002-02-12 18:42:25 +00:00
Guy L. Albertelli
683c00ae3f
Initialize pszText to 0 for internal ->ceItem to eliminate moves to
...
garbage locations.
2002-02-12 18:41:48 +00:00
Aric Stewart
1282ef9420
Use the supplied buffer when copying item text.
2002-02-08 17:10:49 +00:00
Ori Pessach
023b1aae0a
Set WS_EX_TOOLWINDOW in a tooltip's dwExStyle.
2002-02-08 17:03:57 +00:00
Alexandre Julliard
7904acf1bd
Authors: Guy L. Albertelli <galberte@neo.lrun.com>, Aric Stewart <aric@codeweavers.com>, Dmitry Timoshkov <dmitry@codeweavers.com>
...
Misc fixes:
- cache text metrics for the font we're using
- improved item hit detection
- more debugging output
- implement LVM_SETICONSPACING
- lots of bugs squashed
2002-02-05 18:13:57 +00:00
Dmitry Timoshkov
94d5cd4203
Remove PROGRESS_Refresh, always do InvalidateRect() to repaint.
...
Add WM_ERASEBKGND handler as in Windows.
Be slightly smarter whether invalidate background or not.
Always treat wParam as INT to not lose signed values.
2002-02-05 18:08:38 +00:00
Dimitrie O. Paun
07869ec403
Various cleanups:
...
- get rid of the static data member
- pass the infoPtr around instead of the hwnd
- fix indentatin/style a bit to make it consistent with the rest of
the file.
2002-02-05 18:08:01 +00:00
Dimitrie O. Paun
d15ed230a8
Complete Listview Unicodification.
...
Simplify the setting of (sub)item text by using common code.
2002-02-04 18:44:16 +00:00
Aric Stewart
9d366f1f40
Added implementation of SetItemW.
2002-02-04 18:37:32 +00:00
François Gouget
d9c1fc339a
Storing an IP address in a signed int results in bugs if it starts
...
with >=128.
2002-02-04 18:36:42 +00:00
Dmitry Timoshkov
ec7c2a80b2
Moved style correcting code to the WM_CREATE handler and added
...
clearing of WS_EX_CLIENTEDGE and WS_EX_WINDOWEDGE as in Windows.
Added SetWindowPos(SWP_FRAMECHANGED) to make changes take effect.
2002-02-04 18:31:17 +00:00
Guy L. Albertelli
75c2df8ede
Fix problem exposed by the improvements in version 8b. Demonstrated by
...
OE 4.
2002-02-04 18:30:13 +00:00
Patrik Stridvall
57e5784c21
Move __stdcall/__cdecl to the right place.
2002-02-02 18:42:11 +00:00
Andreas Mohr
2295e87be8
Fixed some more missing parenthesis issues.
2002-02-02 18:06:03 +00:00
Huw D M Davies
83ff80b295
Flip A<->W conversion in dispinfo_notifyT.
2002-02-02 17:57:00 +00:00
Aric Stewart
5a64f285f2
Fix to GetItemW to stop whiping out the items text.
2002-02-01 19:54:10 +00:00
Guy Albertelli
bb2eab5f79
- better trace output
...
- support string sent in by address, rather then index
- add FIXMEs for multiple image lists
- protect agains inexistent buttons
- call up to the DefWindowProc when erasing bkgnd when appropriate
2002-01-31 20:49:10 +00:00
Gerard Patel
776cb279f2
Don't repaint header when scrolling a listview vertically.
2002-01-31 20:38:25 +00:00
Guy Albertelli
1cc881772c
- fix order of parameters is SendNotify
...
- always use the dlg cntrl ID of the sender
2002-01-31 20:37:49 +00:00
Gerard Patel
815997ffe0
Fix problems with listview notification.
2002-01-29 17:51:00 +00:00
Dimitrie O. Paun
187a6795c4
- add new SetRange functions (instead of duplicating the code)
...
- pass the infoPtr around instead of the hwnd
- use W-functions instead of A-functions
- more checks in case of failures
- make indentation and style consistent throughout the file
2002-01-29 17:15:48 +00:00
Alexandre Julliard
d328085efa
Authors: Guy Albertelli <guy@codeweavers.com>, Mike McCormack <mike_mccormack@start.com.au>
...
Property sheet Unicodification.
Support additional wizard flags.
2002-01-29 17:14:53 +00:00
Charles Loep
02cbb360e8
Implemented ImageList_Write.
2002-01-29 17:12:20 +00:00
Guy Albertelli
9ef01a23c5
Eliminate some useless error messages.
2002-01-29 17:11:30 +00:00
Huw D M Davies
8ebf7c292f
Removed IsBadStringPtrA call that caused trouble.
2002-01-29 16:56:48 +00:00
Charles Loep
2d783f70f5
Fix errors resulting from missing parenthesis.
2002-01-29 16:54:50 +00:00
Guy Albertelli
390c6dfb93
Text/Bkgnd color fixes.
2002-01-29 16:52:24 +00:00
Dimitrie O. Paun
6d694d8ed6
Simplify and fix listview ellipsification of large text labels.
2002-01-29 16:50:40 +00:00
Dimitrie O. Paun
693cca5d4d
Make FIXMEs more grep-able.
2002-01-29 03:12:19 +00:00
Gerard Patel
3dbbb0b297
Avoid converting nonexistent text from A->W.
2002-01-29 03:08:24 +00:00
Patrik Stridvall
74e4d21ebe
Avoid wildcards in .cvsignore.
2002-01-29 03:05:12 +00:00
Uwe Bonnes
e0ab2b7f2a
Consistent usage of istring, use STR_[Get|Set]Ptr where appropriate.
2002-01-22 00:51:16 +00:00
Dimitrie O. Paun
9e99d2b763
- Make the ListView control Unicode ready.
...
- Support both ANSI & Unicode ListView notifications.
- Fixed a few bugs.
2002-01-18 19:05:35 +00:00
Aric Stewart
97b8c5704e
Initialize streamData and check on failure to read desired data from
...
stream.
2002-01-18 19:04:39 +00:00
Huw D M Davies
964109dec4
Stub for comctl32.419
2002-01-18 18:08:01 +00:00
Aric Stewart
ca2f40bd9a
Catch maximum number of times and return out of memory error.
2002-01-15 20:43:05 +00:00
Rein Klazes
49762a3a50
Move the implementation of comctl32._TrackMouseEvent to
...
user32.TrackMouseEvent and call this function in accordance with the
specs.
2002-01-15 20:41:41 +00:00
Huw D M Davies
1a65a7b88a
Stubs for ImageList_[S|G]etFlags.
2002-01-15 20:28:05 +00:00
Huw D M Davies
02873bbee6
Convert MRULists to Unicode.
2002-01-14 18:36:03 +00:00
Guy Albertelli
404b9a5fb9
- Add additional TOOLBAR_CalcToolbar in a different path of Autosize.
...
- Remember and process WM_SETREDRAW messages.
- Process strings specificied in InsertButton{A|W}.
2002-01-14 18:33:17 +00:00
Guy Albertelli
935331f6da
Fix a gripper issue and the adjustment of bands when RBBS_FIXEDSIZE
...
specified.
2002-01-14 18:32:42 +00:00
Huw D M Davies
3d683d5aef
Fix off by one error in TOOLBAR_AddStringW.
2002-01-12 21:14:17 +00:00
Sander van Leeuwen
fcc148b283
Never delete the font object received by WM_SETFONT.
2002-01-04 21:50:01 +00:00
Sander van Leeuwen
198f1e2f3e
Fixed calls with wrong pointer: COMCTL32_Free(&lpttsi) should be
...
COMCTL32_Free(lpttsi).
2002-01-04 21:27:34 +00:00
Dimitrie O. Paun
0c16564093
Make DrawStatusText Unicode ready. Get rid of a HEAP_strdup call.
2002-01-02 21:43:48 +00:00
Michael Stefaniuc
00bd7998fb
Fixed memory leak.
...
Removed redundant ImageList_DragShowNolock(FALSE) call.
2001-12-31 22:21:24 +00:00
Michael Stefaniuc
15a478f839
If the fccHandler is mmioFOURCC(0, 0, 0, 0) the AVI is also
...
uncompressed.
infoPtr->hWnd wasn't updated in ANIMATE_OpenA.
2001-12-26 23:39:13 +00:00
Gerard Patel
b3a3a8f3bc
Forward tab notifications to the parent.
2001-12-24 20:24:58 +00:00
Michael Stefaniuc
3bc5ffd3c6
Fixed/implemented the ImageList_*Drag* functions.
2001-12-19 18:47:14 +00:00
Lawson Whitney
a77f8d374c
If there is no psInfo, it doesn't need to be cleaned up.
2001-12-19 18:46:49 +00:00
Nog
f12e130fc2
Pass on all unhandeled messages to the owner.
2001-12-17 20:52:11 +00:00
Jon Griffiths
603f20fc0e
Add exclusion defs & remaining funcs, remove internal types &
...
obj_base.h (sync with win version), fixed a number of function
prototypes.
2001-12-11 00:30:17 +00:00
Bill Medland
32ca21caaa
A treeview item may be TVI_ROOT.
2001-12-11 00:15:11 +00:00
Dave Hawkes
a1aeeb2b05
Fix for toolbar potentially using a NULL pointer.
2001-12-11 00:14:24 +00:00
Dave Hawkes
4d03cb64f4
The toolbar commands were not sent to the correct notification
...
window.
2001-12-05 22:10:26 +00:00
Guy L. Albertelli
0889bfa503
Undocumented feature of TB_{GET|SET}BUTTONINFO{A|W}: if mask has
...
0x80000000 set then the command id is really the index.
2001-12-01 00:37:41 +00:00
Michael Stefaniuc
caf81dc0a6
Implemented ImageList_GetDragImage.
...
Fixed ImageList_SetDragCursorImage and ImageList_Merge.
No need for StretchBlt in ImageList_BeginDrag.
Added some traces.
2001-11-30 23:15:00 +00:00
Dave Hawkes
73f58ee2c7
TOOLBAR_GetRect did not correctly translate the command ID to the
...
button index.
2001-11-20 18:54:04 +00:00
Guy Albertelli
aafec98803
- Define rest of URL_ESCAPE... and other flags.
...
- Define implemented interfaces for reg.c and url.c.
2001-11-06 22:31:19 +00:00
Francois Gouget
070e749cfb
Don't prefix %p with 0x.
...
Various English fixes.
2001-11-06 21:01:32 +00:00
Guy Albertelli
45e9cea3d1
Implement most of the MRU related functions.
2001-09-20 18:58:43 +00:00
Mike McCormack
7c1db50c2f
Ignore negative widths in HEADER_SetItemBounds.
2001-09-17 20:25:52 +00:00
Patrik Stridvall
3c0211f969
Cleanup code that is strange or difficult to parse.
2001-09-11 00:32:32 +00:00
Patrik Stridvall
3566973c78
Use the min/max in windef.h instead.
2001-09-10 23:09:04 +00:00
Guy L. Albertelli
91fc357226
- Handle CCS_NODIVIDER both when present and when not.
...
- Handle some cases of CCS_TOP, CCS_BOTTOM, and CCS_NOPARENTALIGN.
- Handle values returned from the RBN_CHILDSIZE notification.
- Implement RBBS_CHILDEDGE.
- Fix some logic errors in REBAR_AdjustBands, and problems with CCS_VERT.
2001-09-07 18:34:14 +00:00
Guy L. Albertelli
f876b5df5a
- Fix positioning of text in buttons.
...
- Fix nButtonHeight so that it is not zero in some cases
- Support TBSTYLE_TRANSPARENT.
- Fix handling in WM_ERASEBKGND so that the default erase occurs
between notifies.
- Fix WM_NCCREATE processing to issue proper WM_STYLECHANGING (via
SetWindowLong) and document the issues.
2001-09-07 15:29:21 +00:00
Alexandre Julliard
41d6a96a60
Removed inclusion of win.h.
2001-08-24 19:15:52 +00:00
Gerard Patel
a02f3de89e
Rect returned by LISTVIEW_GetItemRect should be total size in report
...
mode.
2001-08-21 17:04:02 +00:00
Gerard Patel
ede9881523
Do not keep the handle of a deleted item as the selectedItem..
2001-08-20 18:00:54 +00:00
Eric Pouech
6360917580
Because of circular dependencies between comctl32 and msvfw32, replace
...
in comctl32 delay loading of msvfw32 by manual loading.
2001-08-18 16:09:19 +00:00
Guy L. Albertelli
d1c46851e1
- Implemented RB_MAXIMIZEBAND for the "ideal=TRUE" case.
...
- Implemented NM_CUSTOMDRAW notifications for the ITEMPREPAINT and
ITEMPOSTPAINT only. (Used by IE4 - go figure.)
- Invalidate window rectangles after certain RB_ messages like the
native. Fixed some painting problems.
- Added UpdateWindow call in _MoveChildWindows to fix other painting
problems.
- Set the Caption Font as the default font for all bands.
2001-08-13 20:11:34 +00:00
Guy L. Albertelli
f617391dad
- Implement TBSTYLE_FLAT as "transparent" toolbar and buttons. (Skip
...
FillRect and BF_MIDDLE on _FLAT toolbars.)
- Issue FIXMEs for unsupported styles.
- If the "hidden" state has changed then recalc the buttons.
- Support TBSTYLE_CUSTOMERASE (used by IE4) ans issue some of the
necessary NM_CUSTOMDRAW notifies.
- Pass the WM_ERASEBKGND to parent if the toolbar is "transparent".
- Invalidate the area 1 bigger than the button rect on a WM_MOUSELEAVE
so that the edge is "erased" by the parent.
- Support the PGN_CALCSIZE notify since a toolbar can be a child of the
Pager control.
2001-08-13 20:09:18 +00:00
Guy L. Albertelli
be73d10dc5
Add support to respond to the PGN_CALCSIZE version of the WM_NOTIFY
...
message.
2001-08-13 20:08:21 +00:00
Guy L. Albertelli
3554e75cc8
- Make all WM_NOTIFY messages go to the parent.
...
- Allow WM_WINDOWPOSCHANGING when the control is size 0 to set initial
size.
- Combine multiple SetWindowPos calls in same processing line and make
the flags like native.
- Redo WM_NCCALCSIZE to match native.
- Since Pager is a "transparent" control (except for its own buttons),
the WM_ERASEBKGND needs to be passed to the parent. Also do the window
offset like the native control does.
2001-08-13 20:07:47 +00:00
Jörg Mayer
e5b5af9d66
Fixed a few signed/unsigned and "unsigned < 0 always true" warnings.
2001-08-10 22:49:35 +00:00
Andreas Mohr
c457fbdde6
Fixed tab control index handling.
2001-08-06 17:51:09 +00:00
Guy L. Albertelli
9a1a35e489
- Add debugging dumps of bar and buttons, and trace entry for each
...
message.
- Organize WM_NOTIFY processing in preparation for Unicode
- Implement TBN_GETDISPINFO and I_IMAGECALLBACK for bitmaps.
- Implement drawing of separator for TBSTYLE_DROPDOWN similar to native.
- Change drawing of buttons to support TBSTYLE_LIST and make match
native pixel layout (with and without bitmaps).
- Change TOOLBAR_MeasureString to measure with DrawText like native.
This eliminates extra space due to prefix char ("&").
- Speed up TOOLBAR_CalcStrings by doing the HDC and FONT selection once.
- Change calc of buttons to match drawing for TBSTYLE_LIST and
separators.
2001-08-03 18:10:30 +00:00
Nog
111ec8d6c2
Don't enable the 'hot' state of a toolbar button when it's not
...
enabled.
2001-07-31 00:10:06 +00:00
Marcus Meissner
40734af751
Be a bit more graceful on NULL property sheet titles.
2001-07-26 20:07:53 +00:00
Guy L. Albertelli
2435237537
- On TB_SETIMAGELIST retrieve new values of the bitmap width and
...
height (fixes overlap of image and text in IE4).
- Handle return codes from TBN_DROPDOWN (allows a "dropdown" to be
treated like a regular button).
- Implement TBN_BEGINDRAG and TBN_ENDDRAG in WM_LBUTTON{DOWN|UP} (not
necessary but done by native).
- Implement NM_RELEASEDCAPTURE and NM_CLICK.
2001-07-26 20:07:23 +00:00
Alexandre Julliard
1922c72b8a
Removed unnecessary inclusion of heap.h.
2001-07-25 00:43:29 +00:00
Alexandre Julliard
5f728cae70
Removed HEAP_strdupA.
2001-07-24 21:45:22 +00:00
Guy L. Albertelli
ca5757f8c5
- Recalc the toolbar size on TB_SETBUTTONSIZE in certain conditions.
...
- Add trace to show the paint rectangle prior to refreshing.
2001-07-20 17:58:27 +00:00
Guy L. Albertelli
6eb7273e82
- Fix handling of text color.
...
- Correct implementation of WM_SETREDRAW to be closer to native.
- Do more implementation of RBS_AUTOSIZE in the WM_SIZE processor.
- Implement RBBS_VARIABLEHEIGHT. Used by IE4.
- Do more testing in WM_SIZE to handle strange cases like native.
2001-07-20 17:58:12 +00:00
Guy L. Albertelli
d750780f8c
Fix conversion of W structure to A structure during notify.
2001-07-20 17:57:24 +00:00
Patrik Stridvall
33929be46f
- Made sure that the files that contains the declarations
...
of implementated functions are included.
- Corrected mismatching prototypes.
- Cleaned up the include section.
2001-07-18 21:04:23 +00:00
Francois Gouget
3408e9cfd0
Some 'calendar' typos...
2001-07-17 00:40:30 +00:00
Gerard Patel
5aa9754c6a
Refresh bitmap count to take in account imagelist changes after
...
TB_SETIMAGELIST.
2001-07-17 00:39:15 +00:00
Guy L. Albertelli
2420fa983d
- Move creation process to the WM_NCCREATE message like native and force
...
styles WS_VISIBLE and CCS_TOP.
- Implement messages WM_NCHITTEST, WM_STYLECHANGED, RB_MOVEBAND,
RB_MINIMIZEBAND.
- Improve preformance by removing calls to GetWindowLong for GWL_STYLE
(by saving state and handling WM_STYLECHANGED).
- Cleanup and remove dead and test code.
2001-07-08 20:31:11 +00:00
Patrik Stridvall
01d5e5b071
Documentation fixes.
2001-07-02 19:59:40 +00:00
Guy L. Albertelli
6ae29d6ac0
RBBS_FIXEDSIZE should not affect _AdjustBands (found by Mike McCormack
...
in WinZip).
2001-07-02 17:59:11 +00:00
Mike McCormack
aa62953b31
Fix button text placement for disabled buttons (see Winzip 8.0).
2001-07-02 17:58:31 +00:00
Guy L. Albertelli
b0327f2b40
Remember response from LVN_GETDISPINFO if user sets LVIF_DI_SETITEM.
2001-07-02 01:20:28 +00:00
Guy L. Albertelli
ea478c62a1
- Add support for WM_NOTIFYFORMAT and support both ANSI and UNICODE
...
notify formats.
- Move the drawing of the band backgrounds and band separators to the
WM_ERASEBKGND processing just the way the native controls do.
- Implement WM_SETREDRAW.
2001-06-24 00:22:55 +00:00
Guy L. Albertelli
b2207c7f36
- Fix memory leaks.
...
- Add support for WM_NOTIFYFORMAT and support both ANSI and UNICODE
notify formats.
- Fix some drawing issues with COMBOEX_DrawItem.
2001-06-24 00:22:20 +00:00
Guy L. Albertelli
0d0cc390c3
Fixed test so 0xffffffff is properly recognized.
2001-06-24 00:21:40 +00:00
Andreas Mohr
99f2f396b5
Spelling fixes.
2001-06-22 23:21:47 +00:00
Patrik Stridvall
3ca9823941
Documentation ordinal fixes.
2001-06-20 23:03:14 +00:00
Patrik Stridvall
8b216b3d02
Documentation ordinal fixes.
2001-06-19 18:20:47 +00:00
Patrik Stridvall
6076729649
Documentation ordinal fixes.
2001-06-19 03:34:07 +00:00
Guy L. Albertelli
5e7b201400
- correct rebar window borders and handling of RBS_BORDERS, now
...
matches native.
- major redesign of band layout, now comes a lot closer to native for
the test programs.
- support RBS_VARHEIGHT for both on and off.
- better debug info, and performance improvement
2001-06-11 20:12:11 +00:00
Marcus Meissner
decd475621
Implemented page skipping on PSN_SETACTIVE -1 return.
2001-06-06 21:03:21 +00:00
Francois Gouget
b412b3ccbe
TOOLBAR_InsertButtonA: If iString==-1 then don't use it as a pointer.
2001-05-31 21:33:55 +00:00
Gerard Patel
abc0686fb5
Implemented DTM_GET/SETRANGE.
2001-05-25 20:38:20 +00:00
Francois Gouget
cd8d181a0b
Spelling typos.
2001-05-18 21:01:38 +00:00
Francois Gouget
ee285b7ac8
Remove unnecessary single quoting of debugstr_xxx strings.
2001-05-11 20:03:40 +00:00
Francois Gouget
e76218dd61
Add '\n' at the end of traces.
2001-05-09 17:31:31 +00:00
Susan Farley
ce7f12c425
Implement autorepeat scrolling when button is held down.
...
Improvements to size and appearance of buttons.
2001-05-03 18:33:57 +00:00
Chris Morgan
87e4dbfda8
Implement COMCTL32_StrToIntW() using NTDLL's _wtoi.
2001-04-30 18:16:28 +00:00
Andreas Mohr
f32f918123
Spelling fixes.
2001-04-20 18:36:05 +00:00
Andreas Mohr
641405a550
Fixed off by one error in ImageList_DrawIndirect().
...
Fixed some missing NULL HIMAGELIST check (fixes Microsoft Works
startup).
2001-04-20 18:29:17 +00:00
Guy L. Albertelli
6044b98556
- Notify parent of child size changes when changes are from WM_SIZE
...
messages.
- If more than one band exists, then first band may have a gripper.
- Fix the band layout algorithm to handle some issues from WinARA.
2001-04-20 18:27:42 +00:00
Guy L. Albertelli
bad759075c
- Implement CB_{GET|SET}ITEMDATA for CombBoxEx.
...
- Implement WM_NCCREATE to remove unwanted window styles (as native does).
- Clean up some traces.
2001-04-20 18:27:19 +00:00
James Hatheway
f3c93b805b
Eliminate unitialized garbage being returned from LISTVIEW_GetItemA.
2001-04-18 17:40:04 +00:00
Francois Gouget
dd30c5c282
GetItemSpacing(true): Return the default item spacing if the view is
...
LVS_ICON, and the current 'item size' otherwise.
2001-04-16 19:04:12 +00:00
Andreas Mohr
6d09bf77da
- *don't* MoveWindow() the status bar if CCS_NORESIZE is specified,
...
and use SetWindowPos instead for one of the MoveWindow()s
- call STATUSBAR_GetInfoPtr *once* like Windows does, not twice (used to be
in every sub function, too)
- remember hwndParent from create struct to use in at least WM_CREATE and
WM_SIZE instead of GetParent() like in Windows
- added DefWindowProc call to WM_SIZE like in Windows
- added InvalidateRect, UpdateWindow to WM_CREATE like in Windows
- much more verbose +statusbar output
- rename part_num to nPart for consistency
- added nclm.cbSize to SystemParametersInfoA call
- added FIXME to STATUSBAR_SetParts
2001-04-13 22:23:35 +00:00
Michael Stefaniuc
3a0c6a9490
Fix for small typo.
2001-04-10 21:16:31 +00:00
Marcus Meissner
fd99bcb260
Translations for German language.
2001-04-09 18:33:26 +00:00
Gerard Patel
f6d3d0172d
After an item text changes, the rectangle width should be
...
recalculated.
2001-04-09 18:28:47 +00:00
Rein Klazes
4d7e26f9a2
Fixed scrolling of listview with a mouse wheel.
2001-04-04 18:25:46 +00:00
Gerard Patel
9c2d2bad90
Erase the in-memory DC for treeview and fixes the rectangle calculation.
2001-04-04 00:09:23 +00:00
Gerard Patel
66226d80f3
Set background mode to transparent before calling owner-drawn user
...
handling.
2001-04-04 00:09:05 +00:00
Jeff Garzik
9fd15a9f2f
Added needed string.h includes.
2001-03-22 19:33:57 +00:00
Gerard Patel
8b21b6b33a
Added version info.
2001-03-16 16:50:24 +00:00
Guy L. Albertelli
a7a006a00d
- Documented things known to be unimplemented.
...
- Implemented CBN_SELCHANGE, CBN_KILLFOCUS, and CBN_SELENDOK.
- Corrected CBEN_ENDEDIT notifies to always have edit control text.
- Locked "selected" state of icon to focus state of edit control (if
it exists) just like native.
2001-03-16 16:41:56 +00:00
Guy L. Albertelli
0d2df474aa
- Correct RBN_CHILDSIZE band rectangle to match native.
...
- Correct flags in DeferWindowPos to SWP_NOZORDER to match native.
- Make handling ComboBox and ComboBoxEx the same when moving child
windows.
2001-03-16 16:41:32 +00:00
Francois Gouget
d6f5ed273d
Update nSelectionMark and nFocusedItem when inserting/deleting/sorting
...
items.
SortItems: If sorting less than 2 items, do nothing.
2001-03-05 22:11:17 +00:00
Susan Farley
496f434c72
- Background of the child wnd should be erased with the same color as
...
the control.
- Default scroll amount should be the minimum client area.
2001-03-05 20:00:16 +00:00
Francois Gouget
f45d56912a
In LISTVIEW_AddGroupSelection and LISTVIEW_SetGroupSelection, if no
...
selection mark has been set, just select the current item.
In LISTVIEW_SetGroupSelection we must also set the selection mark in
that case (and only in that case).
Removed a naughty ';' (spotted by Eric Pouech).
2001-03-04 01:04:35 +00:00
Francois Gouget
282f7270c1
Small 'typos in comments' fixes.
2001-02-28 05:31:02 +00:00
Susan Farley
16ac06ed6e
Horiz/Vert determination must be dynamic, as the style may not be set
...
upon creation; improved positioning and scrolling.
2001-02-23 01:33:01 +00:00
Aric Stewart
79a11a1f21
Insert the item before calling a SetFirstVisible which can generate a
...
WM_PAINT message.
2001-02-20 23:43:21 +00:00
Guy L. Albertelli
45e6f62457
- Implement CB_SETCURSEL, CBEM_DELETEITEM, CBEM_GETITEM,
...
CBEM_{GET|SET}UNICODEFORMAT, CB_FINDSTRINGEXACT, WM_COMMAND,
WM_DELETEITEM.
- Implement extended style CBES_EX_NOEDITIMAGE, and warn others are
not yet implemented.
- Restructure DrawItem code to do things more rationally.
2001-02-20 01:53:43 +00:00
Eric Kohl
66eedb5ae6
Fixed behaviour of dropdown buttons. When a dropdown button is
...
clicked, it does not change into pressed state.
2001-02-20 00:48:37 +00:00
James Hatheway
7fdceb2217
Update selection after sorting (in LISTVIEW_SortItems) by making sure
...
selection list matches states of individual items.
2001-02-16 19:39:14 +00:00
François Gouget
d9280fed84
TB_SETBUTTONSIZE messages must be taken into account even after
...
buttons have been added.
2001-02-16 19:38:32 +00:00
Aric Stewart
826465dc22
Setting the HotItem to -1 can be disastrous at times if it equals
...
oldhit.
2001-02-16 19:06:34 +00:00
Aric Stewart
40a38f7f9a
Continued the implementation of Set Hot Item.
2001-02-15 21:25:03 +00:00
James Hatheway
a2c2a83f8e
Send LVN_DELETEITEM notification first, to avoid crashes if the app
...
requests LVIF_PARAM with LISTVIEW_GetItem() during its LVN_DELETEITEM
message handler.
2001-02-15 21:24:43 +00:00
François Gouget
4684ab1c12
ListView_GetItemRect already sets rc.left.
2001-02-14 21:42:24 +00:00
François Gouget
b99367e20e
debugstr_xxx already does the quoting.
2001-02-14 21:42:10 +00:00
François Gouget
5e63211953
Change the callback declarations to a safer format.
2001-02-14 21:41:35 +00:00
Andreas Mohr
9f05b8229f
Check PROPSHEETPAGEA.pfnCallback for NULL pointer if PSP_USECALLBACK
...
is given.
2001-02-12 18:08:31 +00:00
François Gouget
2ad985527f
Handle WM_CHARs and pass them to TREEVIEW_ProcessLetterKeys. See also
...
LISTVIEW_ProcessLetterKeys in listview.c.
2001-02-12 18:08:08 +00:00
François Gouget
1afa24aeac
Fix (rewrite), and add documentation to LISTVIEW_ProcessLetterKeys.
...
Lowered the key repetition delay (Aric).
2001-02-12 18:07:43 +00:00
Francois Gouget
b87a83866f
Change the callback declarations to a safer format.
2001-02-12 03:51:04 +00:00
Chris Morgan
d62dd82efb
Fix ListView_GetItemRect() macro.
...
Fix use of ListView_GetItemRect() macro in listview control.
Add some documentation to LISTVIEW_GetItemRect().
2001-02-12 03:46:00 +00:00
James Abbatiello
841ef6ebb9
Don't allow comctl32 controls to access their infoPtr before it has
...
been allocated or after it has been freed.
2001-02-12 03:42:23 +00:00
Susan Farley
e527f23865
Handle the CCS_NORESIZE style.
...
Change the scroll delta only when the app responds to the PGN_NOTIFY msg.
2001-02-12 01:21:13 +00:00
Guy L. Albertelli
a249595957
- Rewrite WM_CREATE to match native (allocating own Edit control, etc).
...
- Implement additional WNDPROCs for the Combo and Edit controls to
handle different functions.
- Implement CBEM_SETCURSEL and CBEM_HASEDITCHANGED.
2001-01-26 21:00:10 +00:00
James Juran
f4d5fefb0a
Add <string.h> to files that needed it.
2001-01-26 20:43:40 +00:00
Guy L. Albertelli
8673f91b9e
- make hidden bands have valid (0 width) child window areas
...
- when hiding a band, don't show the window, hide it.
2001-01-26 20:36:53 +00:00
Gerard Patel
09d64c83cf
Don't send notifications for the initial display of the first tab of
...
the control.
2001-01-25 21:48:01 +00:00
Gerard Patel
c0ca077f0b
Misc fixes in LISTVIEW_SetImageList, LISTVIEW_SetItemCount,
...
LISTVIEW_UpdateSize.
2001-01-22 19:27:43 +00:00
Alexandre Julliard
0618746265
Cleaned up dll startup routines now that we have separate address
...
spaces.
2001-01-17 22:03:18 +00:00
Ulrich Czekalla
0255c8f0df
Only adjust item rect by horizontal scrollbar offset in report view.
2001-01-17 01:48:14 +00:00
François Gouget
72828e0080
In STATUSBAR_GetTipText{a,W, always put a terminating '\0' in the
...
buffer.
Pass a buffer of sufficient size to TTM_GETTEXTA.
2001-01-13 00:27:13 +00:00
Susan Farley
d4c6485390
Implemented most functionality. TODO lists whats left.
2001-01-12 19:54:48 +00:00
François Gouget
16baace694
Only copy the dwSize bytes really occupied by lpPropSheetPage.
2001-01-10 22:42:58 +00:00
Ulrich Czekalla
8b562997d5
Only call TOOLBAR_CalcToolbar when parameters change.
2001-01-10 22:42:05 +00:00
François Gouget
bde6ae0c19
Test for NULL and LPSTR_TEXTCALLBACK before using lpColumn->pszText.
2001-01-09 21:50:27 +00:00
Gerard Patel
d834e4c858
Send the creation notification to the true owner of the tooltip.
2001-01-09 20:50:13 +00:00
Ulrich Czekalla
e5786e3be6
Adjust item rects by horizontal scrollbar offset.
2001-01-09 20:49:38 +00:00
Gerard Patel
ea241dcdbd
Fixed TCM_GetRowCount.
2001-01-09 20:49:17 +00:00
Andreas Mohr
a6d83ebae1
- clarify many error messages
...
- add data corruption warning to README file
2000-12-27 04:02:46 +00:00
Eric Pouech
099f4c3786
No longer using function pointers to winmm and msvfw32, but delay
...
loading instead.
2000-12-26 01:26:12 +00:00
Gerard Patel
565ba5899c
Do not send a WM_NOTIFYFORMAT to a non-existent owner.
2000-12-19 03:37:02 +00:00
Guy L. Albertelli
943ba3f1bc
- Implement drag for vertical rebars (drag up and down).
...
- Better algorithims for inserting new bands - matches native version
closer.
- Make drawing of rebar attempt to match native pixel by pixel (note
this does not fix the embedded controls in each band - they still are
as good or bad as before.)
- Implement some of the notifications (RBN_HEIGHTCHANGE, _CHILDSIZE,
_DELETINGBAND, _DELETEDBAND).
2000-12-18 03:13:19 +00:00
Guy L. Albertelli
762ed03a3e
Pass WM_COMMAND and WM_NOTIFY to parent as received.
2000-12-18 03:12:31 +00:00
Aric Stewart
844625cbc5
Fixed some difficulties with the font on vertical tabs. Also plugged a
...
resource leak.
2000-12-15 20:55:20 +00:00
Ulrich Czekalla
361eebb1ba
Mark width as valid when we send HDN_ENDTRACKA.
2000-12-15 20:54:41 +00:00
Francois Gouget
8a5de1c92f
Removed the name of APIs exported by ordinal.
2000-12-14 19:25:13 +00:00
Alexandre Julliard
f6168db690
Fixed some warnings.
2000-12-13 20:03:53 +00:00
Eric Kohl
4718b6d09d
Fixed crash of WinZip 8.0 due to invalid image list handle.
2000-12-13 01:52:23 +00:00
Andreas Mohr
bc2ae78bee
Invalid buttons are "hidden".
2000-12-13 01:49:51 +00:00
Gerard Patel
4d975b328f
Use DrawText to display text in horizontal tabs.
2000-12-12 00:35:20 +00:00
Alexandre Julliard
e2222fd8ff
Use libwine and libwine_unicode directly from their build directory
...
instead of using symlinks.
2000-12-06 00:05:14 +00:00
Alexandre Julliard
ef57e18f99
Removed some unnecessary includes.
2000-12-01 21:32:55 +00:00
Guy L. Albertelli
9717845a28
Implement better version of DPA_Merge.
2000-11-30 19:58:56 +00:00
David Elliott
ea186796eb
Remove libXXXX.so.1.0 lines from .cvsignore files.
2000-11-30 19:57:34 +00:00
Alexandre Julliard
a8d1a7c52b
Finished separation of comclt32 and comdlg32.
2000-11-30 19:07:09 +00:00
Brian Teague
161bc83164
Add a stub for the CAPS1 capability in GetDeviceCaps.
...
Define the CAPS1 bit flags in wingdi.h
Make various calls to GetDeviceCaps in DLLS use #defined values.
2000-11-29 20:02:46 +00:00
Alexandre Julliard
49556bcbf5
Cleaned up some more dependencies on Wine internal functions.
2000-11-29 18:38:24 +00:00
Dimitrie O. Paun
ef7a5c1b8c
Fixed a few compilation warnings.
2000-11-29 00:03:27 +00:00
Aric Stewart
147bc6d21b
Ownerdata listviews were not clearing previously selected items when a
...
new item is set as selected using SetItem and the listview has
LVIS_SINGLESEL.
2000-11-29 00:00:11 +00:00
Alexandre Julliard
24a62ab9b0
Got rid of the Wine internal lstrcpy* functions and of winestring.h.
2000-11-28 22:40:56 +00:00
Dimitrie O. Paun
529da54394
Require {DECLARE,DEFAULT}_DEBUG_CHANNEL statements to end in a ;
2000-11-27 23:54:25 +00:00
Dimitrie O. Paun
842c21245f
Corrected default values with help from Ulrich Czekalla.
2000-11-26 22:35:01 +00:00
Eric Kohl
40f29eeab7
Added notification format handling.
2000-11-25 03:07:01 +00:00
Dimitrie O. Paun
3c13ab1ab4
Update comments, cleanup warning messages.
2000-11-25 01:37:22 +00:00
Eric Kohl
7379b89185
Removed calls to internal (non-exported) wine functions.
2000-11-25 01:27:42 +00:00
Ulrich Czekalla
f235a7ba04
Send HDN_ITEMCHANGING and HDN_ITEMCHANGED when resizing.
2000-11-25 01:25:46 +00:00
Marcus Meissner
c2806fa15e
MultiByteToWideChar() returns characters, not bytes.
2000-11-25 01:20:53 +00:00
Dmitry Timoshkov
77b2185e1c
Remove redundant includes.
...
Eliminate use of USER internal structures.
2000-11-15 22:15:52 +00:00
Eric Kohl
76386564a6
Use internal unicode strings.
...
Added unicode messages.
2000-11-15 22:15:11 +00:00
Eric Kohl
b7546b6831
New unicode support functions.
2000-11-15 22:14:43 +00:00
Alexandre Julliard
41d6e2feba
Temp hack: do not import dlls that we link with at the ELF level.
2000-11-13 20:27:31 +00:00
Guy L. Albertelli
418efdc410
Implement dragging on gripper to expand and compress bands. Actual
...
moving bands to different rows will be later.
2000-11-13 19:29:16 +00:00
Alexandre Julliard
27939f00fd
Start using import tables for dlls that can already support it.
2000-11-12 03:50:10 +00:00
Andreas Mohr
3ef4f43c09
Fixed WM_PAINT in ANIMATE_WindowProc; call DefWindowProcA for default handling.
2000-11-11 00:32:05 +00:00
Eric Kohl
dbbc224f11
Added header control cursors and drag list arrow icon.
2000-11-09 20:26:34 +00:00
Dmitry Timoshkov
99653905ec
Make a copy of the dialog resource before correcting styles.
2000-11-09 20:25:27 +00:00
Aric Stewart
b1eb301477
Implemented VK_PRIOR and VK_NEXT processing (merged from Corel tree).
2000-11-08 04:30:16 +00:00
Eric Kohl
ea9d4ce246
Implemented toolbar customization dialog.
2000-11-07 20:30:11 +00:00
Eric Kohl
887a91f4b7
Implemented new messages.
2000-11-07 20:29:50 +00:00
Aric Stewart
d41c9a3da4
Implemented the RedrawItems message for a listview.
2000-11-07 20:28:11 +00:00
Francois Gouget
a2882e03f8
Use DrawFocusRect to draw the focus rectangle.
2000-11-07 20:26:51 +00:00
Marcus Meissner
643fcffaac
CBEM_SETITEMW done by example from SETITEMA, converted SETITEMA to use
...
it.
2000-11-06 20:22:06 +00:00
Alexandre Julliard
eb58e1d597
Declare debug channels in all dlls that need them; added imports of
...
ntdll where necessary.
2000-11-05 04:53:07 +00:00
Marcus Meissner
a0dc42101a
Forward CBEM_SETEXSTYLE to CBEM_SETEXTENDEDSTYLE, pass WM_SETTEXT and
...
WM_GETTEXT down to combo box.
2000-11-05 03:19:06 +00:00
Marcus Meissner
ddedfa2324
Fixed off by one error in DPA handling, added some warnings.
2000-11-04 02:56:38 +00:00
Marcus Meissner
6e9c506f4e
Pass up WM_DRAWITEM messages to parent.
2000-11-04 02:54:32 +00:00
Aric Stewart
cf94bf88c2
Treeview item sorting could mess up the visibleOrder of the items.
2000-11-02 20:09:43 +00:00
Marcus Meissner
c536a4a6d3
Swap CalcToolbar and paint rectangle computation to the correct order.
2000-11-02 20:07:25 +00:00
Marcus Meissner
6ce752cee9
Have Internet Explorer 3 show its toolbars by passing RB_GETBANDINFO
...
to RB_GETBANDINFOA.
2000-11-01 21:35:28 +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
Marcus Meissner
697a621a7c
Removed unnecessary calls of TOOLBAR_CalcToolbar() (which would be
...
recalculated due to InvalidateRect()->WM_PAINT anyway).
2000-11-01 01:49:01 +00:00