Michael Kaufmann
e79381f586
Use correct font for ownerdraw buttons.
2004-08-20 19:23:46 +00:00
Robert Shearman
2e9436c038
User controls: GWL_ -> GWLP_.
2004-08-17 22:29:29 +00:00
Robert Shearman
8570328dc0
Draw background in WM_PAINT instead of WM_ERASEBKGND.
2004-08-17 22:09:16 +00:00
Ulrich Czekalla
fe711b224e
Bottom of button should be rbox.top + checkBoxHeight.
2004-08-16 20:00:41 +00:00
Dmitry Timoshkov
d134ca1ea8
Fix button behaviour on WM_SETFOCUS/WM_KILLFOCUS with a test case.
2004-08-09 23:38:40 +00:00
Krishna Murthy
0c3af0ba58
Replaced LISTBOX_SetCaretIndex() with LISTBOX_MoveCaret() in
...
LB_SELECTSTRING handler so that the caret moves to the index and item
is highlighted.
2004-08-09 22:57:43 +00:00
Jeroen Janssen
cead7c0e81
Updated some MSDN links in the code.
2004-07-30 00:03:02 +00:00
Krishna Murthy
fd43a4688b
Modified EDIT_WM_Char() to restrict keying in of letters other than
...
numbers when ES_NUMBER style is set.
2004-07-24 02:26:24 +00:00
Zach Gorman
46bdee35c3
Set the top_popup global variable to zero in MENU_ExitTracking(),
...
fixing MENU_IsMenuActive() and therefore VK_F1 WM_HELP message
generation.
2004-07-19 21:21:40 +00:00
Marcus Meissner
d176dde0d1
Fixed switch (unsigned int) { case -1 / -2: } problems.
2004-07-12 23:52:33 +00:00
Dmitry Timoshkov
a98beddcce
Add a test case for scroll APIs, fix a few bugs spotted by it.
2004-07-09 19:25:26 +00:00
Troy Rollo
eed4411f8d
- Setting the scroll range with the "bRedraw" flag set to true on a
...
non-control scrollbar resulted in the scrollbar being drawn over the
whole window area.
- If you don't set WS_HSCROLL/WS_VSCROLL on window creation, setting a scroll
range does nothing. Setting the scroll range to a non-zero range should cause
scroll bars to be displayed. Setting the range to a zero range
should cause the relevant scroll bar to be hidden.
2004-07-08 20:15:46 +00:00
Krishna Murthy
ca8e313982
Modified EDIT_EM_Undo(): Removed undo buffer length check for
...
empty. EDIT_EM_ReplaceSel() is called with send_update parameter set
to TRUE.
2004-06-18 22:29:05 +00:00
Dmitry Timoshkov
5d8effce0f
Use better dimensions for MDI system menu buttons to avoid MDI client
...
window resizing.
2004-06-18 19:31:57 +00:00
Dmitry Timoshkov
8f9d07f16b
Added 32->16 mapping for SBM_GETRANGE/SBM_SETRANGE messages.
...
Added support for SBM_GETRANGE16 message in the scrollbar window
proc.
2004-06-14 17:55:27 +00:00
Dmitry Timoshkov
674c302c85
Make SetScrollRange behave like GetScrollRange does, i.e. send
...
messages to the control for SB_CTL case.
2004-06-14 16:55:53 +00:00
Krishna Murthy
4af4ba4c7a
EDIT_EM_ReplaceSel should simply truncate characters that exceed the
...
limit.
2004-05-29 00:21:51 +00:00
Ulrich Czekalla
a935c2afd2
Fix update region calculation for the case where a word wraps up to
...
the previous line.
2004-05-25 18:04:48 +00:00
Oleg Prokhorov
616cffb8b7
Removed DT_NOCLIP format flag.
2004-05-25 04:49:22 +00:00
Rein Klazes
b64c89c59a
When repainting a static control, with SS_BITMAP style, do not erase
...
the background. Keep sending the WM_CTLCOLORSTATIC notification as
Windows does.
2004-05-25 04:03:21 +00:00
Thomas Weidenmueller
c4be01a745
Combobox popups should be always-on-top.
2004-05-17 19:49:19 +00:00
Krishna Murthy
a7c3107148
EM_UNDO should always return TRUE for single line edit.
2004-05-07 00:40:18 +00:00
Alexandre Julliard
eed647d0ad
Remove bitmaps that were only used for the 3.1 look.
2004-05-05 23:50:37 +00:00
Steven Edwards
55954f2936
Remove unused header.
2004-05-05 19:00:44 +00:00
Francois Gouget
ebf0eb3138
Make static Unicode strings const.
2004-04-20 00:34:52 +00:00
Ge van Geldorp
7214fdfca4
Setup menu drawing colors before calling owner draw routine.
2004-04-16 23:30:15 +00:00
Bobby Bingham
9c141d4a80
Fix tracking the currently highlighted item in menus when the mouse
...
button is not held down.
2004-04-02 19:29:18 +00:00
Dimitrie O. Paun
abe9c975a8
Remove the rest of the Tweak look hack.
2004-04-01 21:06:14 +00:00
Dimitrie O. Paun
126227a55a
Remove the support for the Win 3.1 Look.
2004-04-01 04:57:12 +00:00
Dmitry Timoshkov
bd5c18c3f1
Scrollbar should also react on WM_LBUTTONDBLCLK.
2004-03-29 22:56:01 +00:00
Lionel Ulmer
28d9aafc81
Add some TRACEing to the edit control.
2004-03-29 22:54:05 +00:00
Alexandre Julliard
7465011a93
Fixed typo in previous change.
2004-03-20 19:27:10 +00:00
Huw Davies
effbadcbe8
TranslateAccelerator should only ignore commands when mouse capture is
...
in effect or the window is disabled, if the command corresponds to a
menu item. Otherwise it should process them as normal.
2004-03-18 04:00:36 +00:00
Huw Davies
66c1accb6f
Invalidate the focused item when scrolling horizontally so that it
...
repaints correctly.
2004-03-18 04:00:08 +00:00
Alexandre Julliard
22508e576f
FindFirstFile can return an empty short name if the long name is a
...
valid DOS name, fixed callers to handle that properly.
2004-03-17 01:50:27 +00:00
Ulrich Czekalla
00d0d7f21f
Add cast to correctly interpret signed coordinate values.
2004-03-16 19:12:40 +00:00
Huw Davies
30dc42912e
We need to set the new text even if the old text string was NULL.
2004-03-11 00:41:28 +00:00
Justin Chevrier
0a25dd4668
Move implementation of SysParametersInfo from Ascii to Unicode.
2004-03-04 01:41:11 +00:00
Huw Davies
14743a0f3b
SetMenu should always call SetWindowPos whether the window is visible
...
or not. However we shouldn't call SWP from CreateWindowEx.
Added a test for this behaviour.
2004-02-17 20:29:05 +00:00
Alexandre Julliard
a2e2e18586
Avoid a few more GetModuleHandle calls.
2004-02-12 00:35:01 +00:00
Ge van Geldorp
545ecf2ef3
Set upper-left corner of destination to (0, 0), using
...
GetBitmapDimensionEx doesn't make sense.
2004-02-10 20:09:04 +00:00
Alexandre Julliard
c273407429
Fixed TrackPopupMenu return value (based on a patch by Andreas
...
Rosenberg).
2004-02-09 22:02:55 +00:00
Francois Gouget
6b6ed724ae
Add missing '\n's to debug traces.
2004-01-27 00:01:43 +00:00
Yoshiro Takeno
c91d9f0c90
In Windows, the leading byte for multibyte characters are set to upper
...
byte. If single byte character is used, the upper byte is set to 0.
2004-01-26 20:20:07 +00:00
Alexandre Julliard
b0622101b6
System classes must not have the CS_GLOBALCLASS style.
2003-12-10 04:14:35 +00:00
Huw Davies
d105fe2169
Only honour SBS_SIZEBOX*ALIGN styles if SBS_SIZE{GRIP,BOX} is set.
2003-12-03 03:55:12 +00:00
Aric Stewart
e819535588
Invalidate items on set selection.
2003-12-02 05:28:26 +00:00
Alexandre Julliard
3f1372466b
Authors: Aric Stewart <aric@codeweavers.com>, Huw Davies <huw@codeweavers.com>
...
Some support for SBS_SIZEGRIP.
2003-12-02 05:27:54 +00:00
Dmitry Timoshkov
86e4079bc2
Make Alt+[national key] menu shortcuts work.
2003-11-26 05:08:48 +00:00
Alexandre Julliard
b7976c00a0
Fixed declarations of BroadcastSystemMessage and TranslateAccelerator
...
in winuser.h. Added GetWindowModuleFileName.
2003-11-26 04:09:00 +00:00