Francois Gouget
a1f9a13997
Use "static const" rather than "const static" as gcc -W complains
...
about the former.
2005-10-06 11:38:45 +00:00
Frank Richter
9e57091ffa
Fix warnings in 64bit.
2005-08-30 10:07:17 +00:00
Frank Richter
cec8b6b014
Add theming for status bar control.
2005-08-11 18:34:45 +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
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
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
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
Ulrich Czekalla
b13b2474da
WM_GETTEXTLENGTH should return zero for owner drawn status bars.
2005-01-06 19:44:24 +00:00
Dimitrie O. Paun
2bccfc4aa9
Rename STATUSWINDOWINFO to STATUS_INFO, for consistency with other
...
controls. Fix some prototypes. Always pass infoPtr around.
2004-10-27 21:16:17 +00:00
Robert Shearman
b2499c9757
Set class hbrBackground and style to the same as native.
2004-09-14 00:45:26 +00:00
Robert Shearman
cdb263e588
Replace GetWindowLong by GetWindowLongPtr.
2004-08-25 17:33:01 +00:00
Dimitrie O. Paun
c594043316
Make the controls send notifications to the parent window passed to
...
them in CREATESTRUCT. Based on a treeview patch by Igor Grahek.
2003-11-20 22:04:13 +00:00
Mike McCormack
8a6ca5ad3f
Don't use free'd pointer in status control - found by Valgrind.
2003-10-21 23:43:14 +00:00
Dimitrie O. Paun
7de279a73a
Rename COMCTL32_{Alloc,ReAlloc,Free} to {Alloc,ReAlloc,Free}.
2003-09-22 21:32:33 +00:00
Alexandre Julliard
f5cb3dde17
Moved undocumented functions out of the exported commctrl.h.
2003-09-17 20:15:21 +00:00
Alexandre Julliard
cf52644a1c
Removed the A/W constants for builtin cursors, icons and resource
...
types since they don't exist on Windows, and added typecasts
everywhere instead.
2003-09-10 03:56:47 +00:00
Alexandre Julliard
e37c6e18d0
Fixed header dependencies to be fully compatible with the Windows
...
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Dmitry Timoshkov
4d1d5fd353
Accept SIZE_MAXIMIZED as one of statuses of MDI windows.
2003-08-11 18:42:47 +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
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 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