106 Commits

Author SHA1 Message Date
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 Stefaniuc
bc54d78532 - change the internal functions in windows/cursoricon.c to use 32bit
handles
- move the implementation of ExtractAssociatedIcon16 to
  ExtractAssociatedIconA
- convert HICON to a void*
- fixed some handle conversions that happened to be in the way while
  doing the above
2002-10-10 21:22:09 +00:00
Dimitrie O. Paun
326021bd98 Small cleanups, updated documentation. 2002-09-24 18:26:42 +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
Guy L. Albertelli
23739a339a Don't issue error message if message number in application range. 2002-07-16 01:23:59 +00:00
Gerald Pfeifer
f1451e6650 Warning fix. 2002-06-04 00:52:01 +00:00
Vincent Béron
9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +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
Alexandre Julliard
4344c368cb Got rid of GetSysColorPen. 2002-05-20 18:15:28 +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
Marcus Meissner
5b85db3db0 Fixed StatusBar SetText again, added some comments. 2002-04-29 17:12:01 +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
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
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
Charles Loep
2d783f70f5 Fix errors resulting from missing parenthesis. 2002-01-29 16:54:50 +00:00
Patrik Stridvall
3566973c78 Use the min/max in windef.h instead. 2001-09-10 23:09:04 +00:00
Francois Gouget
ee285b7ac8 Remove unnecessary single quoting of debugstr_xxx strings. 2001-05-11 20:03:40 +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
James Juran
f4d5fefb0a Add <string.h> to files that needed it. 2001-01-26 20:43:40 +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
Alexandre Julliard
24a62ab9b0 Got rid of the Wine internal lstrcpy* functions and of winestring.h. 2000-11-28 22:40:56 +00:00
Susan Farley
557066db1c Status bars on managed windows should not have SIZEGRIP style. 2000-10-13 17:07:08 +00:00
Alexandre Julliard
83f52d11c1 Moved all Win16 definitions out of the standard Windows headers. 2000-09-26 22:20:14 +00:00
Alexandre Julliard
072dfb57e3 Removed inclusion of wine/winestring.h from winbase.h and added it to
the C files that need it.
2000-09-25 23:30:56 +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
Marcus Meissner
61cb6ca9fc Fixed STATUS_GetTextW in regard to NULL pointers. 2000-08-18 23:44:12 +00:00
Gerard Patel
c4bf3a6bbe WM_GETFONT should return a real font handle instead of NULL. 2000-08-18 22:25:46 +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
Marcus Meissner
f961dab48f Removed some flicker by detecting if we set the same value again. 2000-08-01 20:50:33 +00:00
Gerard Patel
d837d9db63 Protect against programs creating parts with negative width. 2000-06-20 20:13:24 +00:00
Aric Stewart
8b5231df91 Windows must update the right edge (-1) of the last panel upon drawing
instead of relying on WM_SIZE.
2000-06-08 19:22:25 +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
Aric Stewart
7b6ed869db Some programs switch their status bar back and forth from simple mode
while running. This fix corrects drawing and text setting problems that
result from this behavior.
2000-05-10 01:33:20 +00:00
Gerard Patel
d7cbd7b001 Set the itemID member of the DRAWITEMSTRUCT to the number of the
status part painted.
2000-05-07 18:25:56 +00:00
Alexandre Julliard
d711ad9e0a Removed superfluous GlobalFindAtom calls. 2000-02-13 15:10:16 +00:00
Huw D M Davies
4fa52588a5 Check that lpCreate->lpszName is non-NULL. 1999-09-03 16:42:42 +00:00
Patrik Stridvall
26ffb3cd76 Fixed/added missing/wrong function prototypes and made internal
functions static.
1999-07-31 14:41:43 +00:00
Alexandre Julliard
a79cc39ffa Authors: Chris Morgan <cmorgan@wpi.edu>, James Abbatiello <abbeyj@wpi.edu>
Fixes a problem when using STATUSBAR_SetText() to toggle SBT_OWNERDRAW
1999-06-13 08:46: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
Patrik Stridvall
9e61c1cc9b Changed xxx(VOID) to xxx(void). 1999-06-12 08:27:49 +00:00
Alexandre Julliard
0df48785ef Authors: Chris Morgan <cmorgan@wpi.edu>, James Abbatiello <abbeyj@wpi.edu>
Fixed problems when using multiple style flags together.
1999-05-29 14:14:27 +00:00
Patrik Stridvall
896889f317 ANSI C fixes. 1999-05-08 12:50:36 +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