David Elliott
17b341270a
- Changed the temporary buffer for loading resources from 256 to 512
...
- Define MAX_RESOURCE_STRING_LENGTH instead of using it magically throughout
the function
- Use lstrcpynW instead of lstrcpyW
2000-07-23 13:31:41 +00:00
Rob Farnum
e63a40ee96
Ignore iBitmap width when drawing flat toolbar.
2000-07-15 19:45:43 +00:00
Chris Morgan
a319a9784e
Fixed TOOLBAR_DrawString() to offset button text if infoPtr->himlDef
...
is non-zero. Better fix than my previous patch.
2000-07-11 22:03:44 +00:00
Chris Morgan
6647ef4d71
Fixed TOOLBAR_DrawString() to offset button text if the himl parameter
...
is non-zero or the default himl, himlDef, is non-zero. Fixes a bug in
WinZip 8.0 where text is not shifted down by the height of the button
image.
2000-07-08 18:27:44 +00:00
Gerard Patel
19cef6ca10
Allow the size of bitmaps to be changed after toolbar buttons have
...
been added.
2000-07-08 12:48:37 +00:00
Mike McCormack
4b4e978106
Add workarounds for null strings in TOOLBAR_InsertButtonA and calling
...
TOOLBAR_SetButtonSize after button added to the toolbar (latter for
WINZIP32.EXE)
2000-06-25 12:48:41 +00:00
Dave Hawkes
5f5fb12420
Avoid gratuitously changing the ZORDER.
2000-06-23 16:53:52 +00:00
Patrik Stridvall
a831f2a1e7
Fixed some warnings.
2000-06-11 20:03:17 +00:00
Aric Stewart
d9ac53f15a
Added handling of TBSTYLE_AUTOSIZE.
2000-06-07 03:14:12 +00:00
Uwe Bonnes
cf50ffbf0a
TOOLBAR_DrawString: catch index== -1 (but not yet handled).
2000-06-07 02:10:51 +00:00
Michael Cardenas
c69c954783
Corrected a potential crash.
2000-06-04 01:46:27 +00:00
Eric Kohl
02746e8efe
Started support for menubar-like toolbars.
2000-06-04 01:34:07 +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
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
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
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
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
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
Martin Fuchs
1d20af694c
Implement CCS_NOMOVEY for tool bars.
2000-04-15 20:38:11 +00:00
Niels Kristian Bech Jensen
4eb4380360
Removed superfluous #include statements for header files included twice.
2000-02-29 22:06:06 +00:00
Hidenori Takeshima
031aef9a91
Fix for toolbar button size.
2000-02-25 21:35:18 +00:00
Alexandre Julliard
d711ad9e0a
Removed superfluous GlobalFindAtom calls.
2000-02-13 15:10:16 +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
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
Eric Kohl
426e812ba0
Fixed some visual toolbar bugs.
1999-11-28 19:48:57 +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
Eric Pouech
d183e4ac8c
Added undocumented feature to InsertButtonA.
...
Added dropdown button support.
1999-11-21 00:52:26 +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
Eric Pouech
805e58108e
Added WM_GETFONT support.
1999-10-23 14:17:36 +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
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
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
Alexandre Julliard
a099a555c3
Converted to the new debug interface, using script written by Patrik
...
Stridvall.
1999-06-12 15:45:58 +00:00
Marcus Meissner
9f3eb19a12
Removed use of win.h, sysmetrics.h and associated WINE USER internal
...
variables. Added missing infoPtr->Buddy = hwndBud; in updown.c
1999-05-22 11:22:36 +00:00
Eric Kohl
654ee2c132
Toolbar customization dialog (take one).
1999-05-22 10:52:31 +00:00
Patrik Stridvall
896889f317
ANSI C fixes.
1999-05-08 12:50:36 +00:00
Yuxi Zhang
ccfb1824cd
Implemented toolbar multirow button layout.
1999-05-08 09:40:55 +00:00
Luc Tourangeau
739b97c2ff
Removed some flickering when inserting or deleting buttons.
1999-05-01 10:30:53 +00:00
Patrik Stridvall
0f8bc5b5c7
Fixed ANSI compabillity.
1999-04-22 16:27:50 +00:00
Juergen Schmied
ea7b826cd6
Fixed typo.
1999-04-21 14:26:59 +00:00
Patrik Stridvall
b4b9fae671
New debug scheme with explicit debug channels declaration.
1999-04-19 14:56:29 +00:00
Pascal Lessard
60935ec3e9
Change the AddBitmap function. Implement flat toolbar. Change
...
CreateToolbarEx. Implement partially the hot buttons for toolbar.
1999-03-25 16:42:27 +00:00
Marcus Meissner
3480e4a596
Removed no longer necessary win.h include, added now necessary other
...
includes (win.h used only by UPDOWN now).
1999-03-16 10:53:11 +00:00
Eric Kohl
cad17ff708
Replaced direct access to the WND structure by corresponding calls to
...
Win32 functions.
1999-03-12 17:42:50 +00:00
Marcus Meissner
de43ef45ec
Fixed a lot of warnings using WINE_UNUSED, casts, commenting out and
...
additional {}. Rewrote GetCreationModeFromSTGM so we don't get
"possible use of uninitialized variable".
1999-02-28 19:56:59 +00:00
Alexandre Julliard
a396029270
Large-scale renaming of all Win32 functions and types to use the
...
standard Windows names.
1999-02-26 11:11:13 +00:00
Jeff Garzik
c3e1f72bac
Added missing string.h include.
1999-02-19 15:42:11 +00:00