Commit Graph

113 Commits

Author SHA1 Message Date
Peter Dons Tychsen a3528a7642 comctl32: Handle WM_NOTIFY correctly when the parent returns zero. 2010-01-22 13:09:01 +01:00
Michael Stefaniuc 9dd502a332 comctl32: Remove some explicit LPARAM/WPARAM casts. 2009-12-28 12:27:14 +01:00
Juan Lang 390a248e06 comctl32: Return the number of characters copied in WM_GETTEXT even if the buffer is too small. 2009-08-27 11:01:09 +02:00
Andrew Talbot f5d8fa6613 comctl32: Constify some variables. 2009-06-08 12:41:54 +02:00
Nikolay Sivov 2b72ae6e01 comctl32/status: Use cached colors instead of GetSysColor for Status. 2009-05-19 15:40:37 +02:00
Nikolay Sivov 74e9b904b9 comctl32: Replace nonprintable characters with spaces on SB_SETTEXT. 2009-03-06 16:36:57 +01:00
Rein Klazes da257e3301 comctl32: Fix for owner draw statusbar.
Ownerdraw status bar should update on receiveing a SB_SETTEXT message,
even if the 'text' parameter has not changed. Fix with conformance
test.
2009-02-16 16:01:23 +01:00
Detlef Riekenberg dd85159155 comctl32: Make the status control height dpi and theme aware. 2009-02-02 15:44:39 +01:00
Michael Stefaniuc b723e6f6b6 comctl32: Remove the superfluous casting of the LPVOID returned by Alloc(). 2008-10-24 14:24:59 +02:00
Mikołaj Zalewski 9a70306c53 comctl32: statusbar: Optimize STATUSBAR_RefreshPart. 2008-07-23 11:21:38 +02:00
Mikołaj Zalewski 72d4318c8c comctl32: statusbar: Test and fix SB_SETMINHEIGHT.
The minimal height should be saved so that it survives WM_SIZE or WM_SETFONT.
2008-07-23 11:21:18 +02:00
Mikołaj Zalewski 60a1e20ba8 comctl32: Don't print ERRs for reflected messages. 2008-07-22 13:25:08 +02:00
Mikołaj Zalewski f240b8f49e comctl32: statusbar: Change the height expression to one that seems to be the same as in Windows. 2008-07-22 13:24:43 +02:00
Mikołaj Zalewski 9aee00e8fa comctl32: statusbar: WM_SETFONT should change the bar height. 2008-07-17 12:24:52 +02:00
Mikołaj Zalewski f7cda904cd comctl32: statusbar: Don't issue a WM_PAINT during a WM_CREATE. 2008-07-17 12:24:45 +02:00
Mikołaj Zalewski 1e43f207cd comctl32: statusbar: WM_CREATE should not resize the window - it should happen in WM_SIZE. 2008-07-16 19:56:24 +02:00
Mikołaj Zalewski 0cb74db992 comctl32: statusbar: Rename NtfUnicode to bUnicode to make is more consistent with other controls, use NF_REQUERY in WM_CREATE. 2008-07-16 19:56:24 +02:00
Mikołaj Zalewski 7f97372a89 comctl32: statusbar: Window is always Unicode, CCM_SETUNICODEFORMAT should change the notify format. 2008-07-16 19:56:24 +02:00
Alexandre Julliard 9bcdc46e9d comctl32: Get rid of the hack to remove size grips on managed windows. 2008-04-10 14:47:44 +02:00
Rob Shearman e145242671 comctl32: Fix the signedness of i, oldNumParts and nTipCount in STATUSBAR_SetParts. 2008-02-25 12:02:11 +01:00
Lei Zhang 3980401231 comctl32: Use wine_dbgstr_rect() in traces. 2008-02-07 11:59:53 +01:00
Austin English c2a7914d1c comctl32: Spelling fixes. 2008-01-24 11:43:02 +01:00
Andrew Talbot 863ffb719b comctl32: Remove unneeded casts. 2008-01-02 12:38:41 +01:00
Lei Zhang bf313ee857 comctl32: Fix uninitialized, unused variables. 2007-11-02 12:38:00 +01:00
Dmitry Timoshkov 3c9e7a7f33 wine: Switch to using 'long' for INT_PTR type for 64-bit compatibility. 2007-05-25 20:37:56 +02:00
Mikołaj Zalewski 1f0183e218 comctl32: status: Send a NMMOUSE in mouse notifications, not a NMHDR. 2007-05-14 15:41:29 +02:00
Andrew Talbot f44cb11a73 comctl32: Constify some variables. 2007-04-02 11:37:44 +02:00
Andrew Talbot 74ab88ca97 comctl32: Replace inline static with static inline. 2007-03-17 20:03:19 +01:00
Michael Stefaniuc 22ecd7aa67 comctl32: Remove redundant NULL checks before Free() (found by Smatch). 2007-03-08 11:58:04 +01:00
Vijay Kiran Kamuju c292c40d05 comctl32: statusbar: Fix GetRect return value bug. 2007-01-03 11:25:26 +01:00
Oleg Krylov bea5b4b9f7 comctl32: statusbar: Create tooltip window with WS_POPUP and TTS_ALWAYSTIP style. 2006-10-25 20:21:13 +02:00
Alexandre Julliard 7cca856315 comctl32: Properly handle negative coordinates for mouse events. 2006-10-25 17:41:48 +02:00
Michael Ploujnikov 1c16d83379 comctl32: Win64 printf format warning fixes. 2006-10-14 20:17:06 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Phil Krylov b2d289fa23 comctl32: Call UpdateWindow() after changing statusbar text. 2006-01-10 12:06:44 +01:00
Michael Kaufmann e9310da57b Handle WM_PRINTCLIENT.
Don't use SelectClipRgn in WM_PRINTCLIENT.
2005-11-08 12:52:35 +00:00
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