Duane Clark
0d5aae1a0d
Oops, back to hard coding initial thumb size until we figure out how
...
it really should work.
Fix the channel size/selection range for the TBS_ENABLESELRANGE
style.
One pixel tweaks in several spots.
2003-08-06 22:05:11 +00:00
Stephan BEUZE
767070203d
- Avoid division by zero in TRACKBAR_GetTicPos
...
- Manage negative range TRACKBAR_DrawOneTic
2003-08-05 18:25:26 +00:00
Duane Clark
9ebf12c36d
The initial size of the thumb depends on SM_CYCAPTION.
...
Correctly draw the thumb as in Windows.
The channel/thumb position also depends on TBS_NOTICKS.
The first and last tic marks should be inset from the channel length
by half the thumb width.
When TBS_BOTH style set, make sure to draw both sets of tics.
2003-08-02 00:44:00 +00:00
Mike Hearn
d2b8e39b5c
- Unbreak vertical trackbars
...
- Make it more closely resemble the native control
- Add focus rectangle
- Misc fixes and cleanups
2003-06-16 19:39:27 +00:00
Maxime Bellengé
dcaf137736
Fix the computation of the trackbar's size.
2003-04-27 00:31:06 +00:00
Maxime Bellengé
5b44c77fb4
Remove the sending of NM_TOOLTIPSCREATED which is non existent under
...
Windows during the creation of the trackbar.
2003-04-26 02:07:43 +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
Dimitrie O. Paun
9c50730354
Get rid of generic notification support in comctrl32. The MS docs were
...
misleading in that all controls send these notifications. They don't.
2002-12-10 19:07:59 +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
Michael Stefaniuc
f3d1893f80
Add needed casts for a "no warnings" compile of comctl32.
2002-10-23 20:19:22 +00:00
Dimitrie O. Paun
da9bac4d9e
Add comment on what is known about the current state of the controls
...
relative to comctl32.dll version 6.0.
2002-10-16 18:57:14 +00:00
Michael Günnewig
2cf92565df
Fixed division by zero, when range is 0.
2002-10-15 01:20:51 +00:00
Dimitrie O. Paun
e54fdf2142
- Implement custom draw support.
...
- Fix thumb drawing.
- Some cleanups, reorganizations, etc.
2002-09-12 22:26:26 +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
c1e3cb8d5b
- Implement autopaging.
...
- Remove incorrect FIXMEs.
- Small cleanups.
2002-09-11 00:47:32 +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
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
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
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
James Juran
f4d5fefb0a
Add <string.h> to files that needed it.
2001-01-26 20:43:40 +00:00
Aric Stewart
a1c683e9ad
Wine was not drawing trackbars with minimum ranges of more than 0
...
correctly.
2000-08-23 19:11:31 +00:00
Alexandre Julliard
70c9e095ef
Removed all non-standard common control headers from the include
...
directory.
2000-08-09 00:41:17 +00:00
Aric Stewart
f64a59f2fe
Reworked the thumb drawing code, thumb calculation code, channel
...
calculation code, and corrected some bugs in how tics are drawn and
how clicks are handled.
2000-05-25 23:02:18 +00:00
Eric Pouech
051cccee06
Fixed some quirks (range is 32 bit, page up/dn mismatch on HZ trackbars).
2000-05-11 21:42:12 +00:00
Gerard Patel
a1b2fc2a80
Protect against use of comctl32 private control memory after it has
...
been freed.
2000-05-10 01:34:53 +00:00
Francois Gouget
6d77d3a1df
Use min/max instead of MIN/MAX.
2000-03-25 21:44:35 +00:00
Alexandre Julliard
d37c1bb570
Vahid Pourlotfali
...
Trackbar contol did not have proper position value in case of
SB_THUMBTRACK notification message: it was always sending 0.
Jim Aston <jima@corel.ca>
Made the slider control a rect. It had been trying to draw a notched
slider, but the result didn't look right.
2000-03-04 19:11:54 +00:00
Alexandre Julliard
d711ad9e0a
Removed superfluous GlobalFindAtom calls.
2000-02-13 15:10:16 +00:00
Alexandre Julliard
383da68cf9
Optimized debugging API to reduce code size.
2000-02-10 22:15:21 +00:00
Ian Schmidt
c5af796977
Corrected background color and fixed leaking GDI brush.
1999-12-20 04:00:52 +00:00
Patrik Stridvall
26ffb3cd76
Fixed/added missing/wrong function prototypes and made internal
...
functions static.
1999-07-31 14:41:43 +00:00
Marcus Meissner
623c0d6f94
some small include fixes, some checks for NULL ptrs,
...
loader/elf.c: fixed the "lib" insertion
crtdll: added fsopen()
dinput: return that we are attached.
1999-07-03 16:01:42 +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
a099a555c3
Converted to the new debug interface, using script written by Patrik
...
Stridvall.
1999-06-12 15:45:58 +00:00
Patrik Stridvall
9e61c1cc9b
Changed xxx(VOID) to xxx(void).
1999-06-12 08:27:49 +00:00
Luc Tourangeau
3d35e9894c
Removed the timer that was used to queue TRACKBAR_Refresh calls.
...
Removed all direct calls to TRACKBAR_Refresh (except from within the
WM_PAINT handling section) and replaced them by calls to
InvalidateRect.
Fixed a bug in the TRACKBAR_SetPos function.
Fixed the behavior for different types of mouse input.
1999-05-08 09:44:45 +00:00
Eric Pouech
38dcf8ecda
Prevent crash when nMinRange > nMaxRange.
1999-04-25 10:59:46 +00:00
Patrik Stridvall
0f8bc5b5c7
Fixed ANSI compabillity.
1999-04-22 16:27:50 +00:00
Patrik Stridvall
b4b9fae671
New debug scheme with explicit debug channels declaration.
1999-04-19 14:56:29 +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
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
Marcus Meissner
317af320cf
Optimized include/*.h: (recursively) include all headers needed by
...
this .h file, but only those. Necessary fixes to a lot of .c files,
started optimizing "windows.h" away from some of them. Moved
GetCurrentTask prototype to wine/winbase16.h.
1999-02-17 13:51:06 +00:00
Alexandre Julliard
638f169b1e
Recovery of release 990110 after disk crash.
...
See Changelog for changes between 990103 and 990110.
1999-01-17 16:32:32 +00:00
Marcus Meissner
73458b03cd
Changed // comments to /* */ so WINE compiles with non-gcc compilers
...
again.
1998-12-26 12:54:29 +00:00
Alex Priem
506115b8c5
- Tooltip support
...
- Vertical trackbars supported now
- TBS_BOTH support (goes along with partial cleanup of drawing code)
- Use COMCTL32 heap instead of system heap
1998-12-24 16:58:01 +00:00
Eric Kohl
9d8e864b34
Added xxx_Unregister() functions to all common controls.
1998-10-24 10:49:27 +00:00