Carl Sopchak
23b88efeeb
Ignore buffer limit on WM_SETTEXT.
2002-11-21 03:57:05 +00:00
Aric Stewart
bec403f6df
Fixed a bug with combo boxes where only 1 items was being displayed.
2002-11-13 21:18:32 +00:00
Chris Morgan
36595828c3
Remove ERR() if menu entry isn't of type MF_STRING as some
...
applications set flags of MT_SEPARATOR and erroneous errors are
produced. Add a couple of comments.
2002-11-06 21:57:50 +00:00
Alexandre Julliard
cf2e57d0c7
Split out some more 16-bit code.
2002-10-31 22:06:53 +00:00
Dmitry Timoshkov
601a3abec1
Fix some types and function prototypes according to Platform SDK
...
definitions.
2002-10-31 01:04:39 +00:00
Michael Stefaniuc
ec5612ee1d
Some more fixes for compiling the user dll with -DSTRICT.
2002-10-30 23:45:38 +00:00
Patrik Stridvall
c72255c715
Fixed some issues found by winapi_check.
2002-10-29 21:31:26 +00:00
Michael Stefaniuc
95591a6e90
Some fixes for the compilation of the user dll with -DSTRICT.
2002-10-28 20:11:40 +00:00
Michael Stefaniuc
61d92562b9
Silence some warnings due to casts between pointer and integers of
...
different size.
2002-10-19 00:52:55 +00:00
Alexandre Julliard
0ca051e555
Fixed wownt32.h to make it usable from inside Wine, and use it to
...
avoid some duplication of the handle conversion macros.
2002-10-17 16:43:42 +00:00
Alexandre Julliard
a9e8f59c95
Moved mouse capture handling into the server.
2002-10-12 01:24:37 +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
Steve Lustbader
c15b0a2515
Provide a stub for GetComboBoxInfo.
2002-10-10 21:17:12 +00:00
Andrew M. Johnston
3fcf37a002
Make info structure members lower case as elsewhere.
2002-10-10 17:53:04 +00:00
Dimitrie O. Paun
a4273ca385
- Stop passing hwnd around when we're passing EDITSTATE.
...
- Merge the non-obsolete bits of EDIT.TODO into edit.c.
- Some cleanups, and simplifications.
2002-09-25 03:24:53 +00:00
Dmitry Timoshkov
472d016859
Correct SIZE_T size according to MS SDK.
...
Change some types to SIZE_T according to MS SDK definitions.
2002-09-21 01:21:00 +00:00
Alexandre Julliard
034cacb79c
Remove clearing of the window menu id for now. This will need more
...
work.
2002-09-17 18:40:39 +00:00
Francois Gouget
bba4bb1bc4
Remove references to PCVOID and LPUINT.
...
Remove types that don't exist on Windows.
2002-09-17 01:35:09 +00:00
Dimitrie O. Paun
8fce1a4c8e
- Implement DFCS_TRANSPARENT.
...
- Fix indentation.
- Add remark about unimplemented DFC_POPUPMENU.
2002-09-09 19:22:40 +00:00
Michael Stefaniuc
2247af320d
- Rename WIN_Handle16 to HWDN_16 and make it a macro.
...
- Prepare user.dll for the change of HWND to a void*.
2002-09-04 19:37:01 +00:00
Andreas Mohr
8578f01960
Make sure we clear the owning window's hMenu in DestroyMenu().
2002-08-28 23:31:56 +00:00
Aric Stewart
acb308af67
If we have no dropdown height give ourselves a minimum height of 5
...
items or max items (whichever is less).
2002-08-28 00:53:23 +00:00
Alexandre Julliard
0393d43c8e
Fixed WM_GETTEXT handling to avoid strncpy and return correct lengths.
2002-08-28 00:40:17 +00:00
Michael Stefaniuc
4a75c5c6ea
Convert HACCEL to a void*.
2002-08-28 00:39:39 +00:00
Zoltan Nagy
5b809fd6d7
Move caret when selecting a text area with the mouse.
2002-08-27 18:15:26 +00:00
Aric Stewart
2e0d8cfc76
Don't set EN_CHANGE at creation time.
2002-08-20 00:24:17 +00:00
Patrik Stridvall
d016f819f1
Added include protection for unistd.h and sys/time.h.
2002-08-17 00:43:16 +00:00
Alexandre Julliard
d376e64c35
Erase background when invalidating the selected text.
2002-08-16 23:21:51 +00:00
Aric Stewart
08e693965d
Support large edit buffers for richedit control.
2002-08-16 01:41:32 +00:00
Alexandre Julliard
331bf3d77c
Avoid trouble in WM_GETTEXT if specified length is larger than the
...
buffer (found by Carl Sopchak).
2002-08-15 23:28:45 +00:00
Duane Clark
ff42c0174d
On mouse down in thumb, issue SB_THUMBTRACK with current position.
...
On mouse up in thumb, issue SB_THUMBPOSITION followed by
SB_ENDSCROLL.
2002-08-03 00:13:48 +00:00
Alexandre Julliard
526531eb6c
Create at most one glue file for a single dll.
...
Avoid the intermediate .tmp.o file when building programs.
2002-08-01 18:36:58 +00:00
Carl Sopchak
e833248d58
Return empty string on error in WM_GETTEXT.
2002-07-19 03:13:10 +00:00
Uwe Bonnes
72d827010c
CBUpdateEdit: LB_GETTEXTLEN returns LB_ERR on error, not 0.
2002-07-10 23:11:28 +00:00
Alexandre Julliard
ebed1b8745
ComboLBWndProc: fall through to ListBoxWndProc if the listbox is not a
...
ComboLBox.
2002-07-05 00:30:05 +00:00
Vincent Béron
e35580f4c9
Fixed some various comparisons wrt signedness.
2002-06-21 22:25:17 +00:00
Alexandre Julliard
741325b86a
Make sure edit and listbox controls are of same ASCII/Unicode style as
...
the combo box. Fixed a few MBCS issues with WM_GETTEXTLENGTH handling.
2002-06-13 19:20:43 +00:00
Andreas Mohr
957f1f98ef
Only allow tabs in popup menus, and make sure to never display them.
2002-06-04 23:08:16 +00:00
Vincent Béron
9a62491660
Removed trailing whitespace.
2002-05-31 23:06:46 +00:00
Dmitry Timoshkov
a081e2380f
Clear an old button text in WM_SETTEXT as Windows does.
2002-05-20 18:21:29 +00:00
Alexandre Julliard
4344c368cb
Got rid of GetSysColorPen.
2002-05-20 18:15:28 +00:00
Alexandre Julliard
0aa28b5b8d
Export the debugging API from libwine instead of ntdll.
...
Removed debugres_[aw].
2002-05-17 02:55:48 +00:00
Alexandre Julliard
9bb05fc48e
Specify the complete source file list for a dll inside the main
...
makefile and get rid of the subdirectories makefiles.
2002-05-14 18:36:54 +00:00
Rizsanyi Zsolt
0026d78ed8
Disabled catching of mouse move events when not over menu.
...
Changed MENU_SelectItem allow EndMenu to deselect the selected menu.
2002-05-09 01:14:35 +00:00
Chuck Crayne
ce2024ce42
- Recognize "\n" as an alternative soft line break in function
...
EDIT_BuildLineDefs_ML of edit.c.
- Major restructuring of richedit.c to provide bug fixes, enhanced
function, and improved debug support.
2002-04-22 23:08:19 +00:00
Rizsanyi Zsolt
83d6efb761
Sending EN_UPDATE notification in the EDIT_WM_SetText - the comment
...
already says, that the message is sent, but it is not...
2002-04-11 17:30:22 +00:00
Dmitry Timoshkov
aba60df415
Always erase background.
2002-04-09 01:34:48 +00:00
Dmitry Timoshkov
51cf0e34cf
Added CS_PARENTDC style.
2002-04-08 23:46:32 +00:00
Dmitry Timoshkov
5076dbaabc
Convert NULL menu items to separators.
2002-04-02 02:36:44 +00:00
Uwe Bonnes
6815f3a6fd
MenuItemFromPoint: rough implementation.
2002-03-28 22:04:45 +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
Eric Pouech
ed792972d9
Fixed WM_SETFONT handling (no redraw made in some cases).
2002-02-26 00:37:28 +00:00
Phillip Ezolt
76198ce262
Fixed the scrollbar position overflows using MulDiv.
2002-02-19 18:36:55 +00:00
Alexandre Julliard
c72a9aa83e
CodeWeavers
...
Minor fixes.
2002-01-31 21:05:05 +00:00
Guy Albertelli
bde5cf0bc2
Paint control immediately on WM_SETTEXT.
2002-01-31 21:02:17 +00:00
Dimitrie O. Paun
693cca5d4d
Make FIXMEs more grep-able.
2002-01-29 03:12:19 +00:00
Rein Klazes
0e4cf6c083
Don't change button state on WM_MOUSEMOVE messages unless left mouse
...
button is pressed.
2002-01-15 20:27:30 +00:00
Rein Klazes
93ece68077
In CBPaintText use the text size as returned by LB_GETTEXT. The size
...
returned by LB_GETTEXTLEN may be too large.
2002-01-15 20:27:12 +00:00
Sander van Leeuwen
7ccd27a6d5
Check, Radio & 3State buttons send WM_CTLCOLORSTATIC instead of
...
WM_CTLCOLORBTN.
2002-01-04 21:26:20 +00:00
Alexandre Julliard
cc2d3826f1
Use DrawFrameControl instead of bitmaps in certain cases.
...
Moved remaining OEM bitmaps to user32 resources.
2002-01-03 02:35:23 +00:00
Andreas Mohr
6924967539
Fixed, added or implemented stubs:
...
- DrawMenuBarTemp(): corrected parameter count.
- CallCPLEntry16(): stub.
- SetSysColorsTemp(): fully implemented (hopefully) this undocumented
function.
2001-12-26 20:34:12 +00:00
Bill Medland
b153725988
For a radio button even if the initial style includes WS_TABSTOP the
...
first BM_SETCHECK 0 will clear it (even if the state was clear).
2001-12-11 00:16:23 +00:00
Andreas Mohr
9cef2d0b1d
- fix wrong hexadecimal GetLastError() output
...
- misc fixes
- changed my email address
2001-11-19 02:30:01 +00:00
Andreas Mohr
07216db627
EDIT_EM_LineLength called from within EDIT_EM_LineLength needs
...
starting line char index, not line index (== line number).
2001-11-13 21:29:38 +00:00
Francois Gouget
070e749cfb
Don't prefix %p with 0x.
...
Various English fixes.
2001-11-06 21:01:32 +00:00
François Gouget
1425941e29
Fix the #include order for config.h.
...
Add #include "config.h" directives where needed.
2001-11-06 20:57:11 +00:00
Alexandre Julliard
ddc3317b7a
Store in the server all the window information accessible with
...
Get/SetWindowLong.
2001-10-22 19:08:33 +00:00
Alexandre Julliard
fb0ff053c0
Added internal Wine messages to perform SetWindowPos, ShowWindow and
...
SetParent in the correct thread.
Replace QUEUE_IsExitingQueue by USER_IsExitingThread.
Store window rectangles in the server.
Prevent DestroyWindow on windows not belonging to the current thread.
2001-10-16 21:58:58 +00:00
Alexandre Julliard
b662e11a00
Moved scrollbar tracking code to scroll.c.
...
Avoid unnecessary coordinates conversion in NC_HandleSysCommand.
2001-10-16 21:52:26 +00:00
Alexandre Julliard
8fd26b9134
Renamed WIN_GetWndPtr into WIN_GetPtr and added corresponding
...
WIN_ReleasePtr. Started using it instead of WIN_FindWndPtr where we
don't need to access windows of other processes.
2001-10-15 17:56:45 +00:00
Francois Gouget
386cf6e342
When including 'wine/port.h', include it first.
...
Remove redundant 'config.h' includes.
2001-10-14 16:25:47 +00:00
Dmitry Timoshkov
b85a6e8c0a
Defer edit style correction until EDITSTATE is fully initialized.
2001-10-08 20:33:08 +00:00
Guy Albertelli
943e761db7
- Implement message loop on the client side of the scroll control.
...
- Move the mouse capture to after the SetFocus so that it stays
captured.
2001-09-21 21:43:38 +00:00
Alexandre Julliard
d23a82bc86
Made all 16<->32 HWND conversions use explicit functions instead of
...
implicit type casts.
Moved a lot of 16-bit functions to the new wnd16.c file.
Changed DIALOGINFO structure handling to support 32-bit handles.
2001-09-19 20:37:04 +00:00
Bobby Bingham
49c7aff248
When you hold the left mouse button inside the scrollbar, then move
...
the mouse off so it stops scrolling, and return the mouse, it should
continue scrolling.
2001-09-17 19:01:08 +00:00
Alexandre Julliard
f44bbb8d10
Make sure that HWND comparisons are always done with full 32-bit
...
handles.
2001-09-14 00:24:39 +00:00
Guy L. Albertelli
db9b54925d
Enhance SPY_GetMsgName to translate common control messages.
2001-09-07 18:38:57 +00:00
Alexandre Julliard
9d9dac0947
Added WIN_ListParents function and renamed WIN_BuildWinArray into
...
WIN_ListChildren. Made owner field in WND structure an HWND.
2001-08-24 19:28:21 +00:00
Alexandre Julliard
b3ec03092f
Added proper support for 32-bit WM_NEXTMENU.
2001-08-18 18:10:04 +00:00
Alexandre Julliard
de42428f23
Removed a number of direct accesses to the WND structure, replacing
...
them by API calls.
2001-08-10 22:51:42 +00:00
Alexandre Julliard
bfb4a23aa9
Replaced MSG_InternalGetMessage calls by equivalent exported APIs.
2001-08-06 18:05:47 +00:00
Alexandre Julliard
1922c72b8a
Removed unnecessary inclusion of heap.h.
2001-07-25 00:43:29 +00:00
Jukka Heinonen
186a79cb92
WNDPROC handlers now check whether HWND argument is valid.
2001-07-24 01:16:16 +00:00
Alexandre Julliard
ef06b4a694
Got rid of HEAP_strdupW.
2001-07-22 23:08:10 +00:00
Bill Medland
e79f0768e1
As for the edit control, the style of the borders on the list control
...
is modified in the dialog loading code, not in the control itself.
2001-07-17 00:55:23 +00:00
Gerard Patel
326b280efc
Draw MenuBar in proper place (some cases).
2001-07-17 00:43:22 +00:00
Bill Medland
137420a0f0
Correct the location of the style patching for the edit control.
2001-07-11 17:26:33 +00:00
Mike McCormack
34329cf58e
GetMenuItemID: return -1 for invalid menu items, not zero.
2001-07-10 19:06:12 +00:00
Marcus Meissner
05aeaf1568
Add some argument validation to SetMenuItemInfoA, so QT5 does not
...
corrupt its menus.
2001-07-08 20:31:41 +00:00
Bill Medland
31b15c6a86
Correct more colours so that DrawEdge works for more cases.
2001-07-08 20:30:10 +00:00
Patrik Stridvall
01d5e5b071
Documentation fixes.
2001-07-02 19:59:40 +00:00
Dmitry Timoshkov
56a19923e8
Replace some 16-bit calls by their 32-bit equivalents.
2001-07-02 01:21:26 +00:00
Patrik Stridvall
17fd4e3816
Documentation name fixes.
2001-06-28 18:04:41 +00:00
Bill Medland
86bfa4cbd1
Improved handling of styles in the edit control, including detecting
...
changes of style and correcting handling of inconsistant styles.
2001-06-28 18:01:00 +00:00
Andreas Mohr
99f2f396b5
Spelling fixes.
2001-06-22 23:21:47 +00:00
Patrik Stridvall
3ca9823941
Documentation ordinal fixes.
2001-06-20 23:03:14 +00:00
Susan Farley
63c06aa0b7
Changed the outer color of a push button frame from gray to white,
...
matching the Windows look; modified the paint routine for the
close button of a tool window to improve scalability.
2001-06-06 21:31:47 +00:00
Susan Farley
b6866d7f20
Disable the edit box when created with WS_DISABLED.
2001-05-31 21:39:21 +00:00
Bobby Bingham
aa5b6ce836
Fixed scrollbars return value to the SBM_SETRANGE and
...
SBM_SETRANGEREDRAW messages.
2001-05-31 21:30:06 +00:00
Ulrich Czekalla
18ce388db9
Fix menu behaviour when escape is pressed.
2001-05-18 23:20:20 +00:00
James Juran
75c525c16f
Make sure we set dwOSVersionInfoSize before calling GetVersionInfo().
2001-05-18 20:56:37 +00:00
Alexandre Julliard
4323004bf1
Create an X connection for each thread, and process X events in the
...
thread that created the corresponding X window.
Spawn a separate thread to run the desktop message loop in desktop
mode.
2001-05-16 19:52:29 +00:00
Gerard Patel
8f79fdc3fe
Test if the menu is destroyed before displaying a menu item.
2001-05-14 19:20:13 +00:00
Alexandre Julliard
e60ccd11d3
Create a new window for the top popup menu on every new menu tracking,
...
so that the window belongs to the right thread.
2001-05-11 20:05:42 +00:00
Francois Gouget
ee285b7ac8
Remove unnecessary single quoting of debugstr_xxx strings.
2001-05-11 20:03:40 +00:00
Francois Gouget
e76218dd61
Add '\n' at the end of traces.
2001-05-09 17:31:31 +00:00
Mike McCormack
75194d2853
Only draw the padding area of the combo box, don't erase the combo
...
selection text.
2001-05-09 17:13:41 +00:00
Ulrich Czekalla
2d382c6ca6
Fixed a paint problem reported by Mike McCormack.
2001-05-09 17:12:30 +00:00
Marcus Meissner
f05618bd00
Do not HeapFree() memory not allocated by us in COMBO_GetText.
...
Convert return value from LB_GETTEXT into COMBO_GetText.
2001-05-02 01:08:59 +00:00
Mike McCormack
ed90b185f2
Draw the padding area of a combo box.
2001-04-30 18:17:46 +00:00
Patrik Stridvall
15a3b74356
Documentation name fixes.
2001-04-27 18:03:51 +00:00
Gerard Patel
7a06d45fca
Do not send WM_MOUSEACTIVATE for children of desktop.
2001-04-17 17:57:20 +00:00
Dmitry Timoshkov
d62c3f16ac
Remove redundant sending of WM_DRAWITEM message to ownerdrawn
...
combobox.
2001-04-17 17:29:31 +00:00
Dmitry Timoshkov
e8ffcaa372
Slightly improve keyboard tracking in combobox.
2001-04-16 19:32:19 +00:00
Dan Engel
7c7a3571d4
Set the backgound mode to opaque to paint highlighted text.
2001-04-16 19:32:05 +00:00
Alexandre Julliard
3f03975f48
Added first/last message filters to MSG_InternalGetMessage to avoid
...
busy waits.
2001-04-12 21:09:03 +00:00
Alexandre Julliard
c9e11394a0
Added mappings for WM_CHARTOITEM and WM_MENUCHAR messages.
...
Removed mapping of 16-bit edit messages in the generic routines.
2001-04-10 21:46:27 +00:00
Dmitry Timoshkov
6df245dd68
Really do not roll up if selection is being tracked by arrow keys in
...
the dropdown listbox.
2001-04-09 18:30:25 +00:00
Alexandre Julliard
2ec34e48a3
Added TASK_GetPtr/TASK_GetCurrent functions to get the TDB for a task
...
handle.
2001-04-04 00:21:05 +00:00
Rein Klazes
9d4ae0eff9
Do not send the EN_CHANGE notification message until the selection
...
start and end values are filled in.
2001-04-02 19:13:24 +00:00
Ulrich Czekalla
f11ff2a448
Update format engine to reduce flicker.
2001-03-31 00:51:10 +00:00
Guy L. Albertelli
627aa4d772
Native version seems to always re-draw the selected text at the end of
...
a rollup.
2001-03-20 01:51:58 +00:00
Gerard Patel
2482ef3339
Fix system menu crash by ensuring that item->text is not null when
...
MF_TEXT set.
2001-03-19 19:16:21 +00:00
Gerard Patel
cf2ff27f5f
Recalculate menu sizes if WM_INITMENU has recreated/changed something.
2001-03-14 17:24:59 +00:00
Dmitry Timoshkov
a62f06d027
Yet another attempt on fixing notifications in the edit control.
2001-03-13 23:31:08 +00:00
Dmitry Timoshkov
87880c5e23
Fixed notifications of the edit control.
2001-03-10 19:16:46 +00:00
Gerard Patel
d36a3ef385
Call DefWindowProc for WM_CTLCOLORSTATIC message when the apps does
...
not.
2001-03-10 19:16:26 +00:00
Francois Gouget
3d0589ae7d
Fixed spelling/typos in comments.
2001-03-10 19:15:49 +00:00
Dmitry Timoshkov
fbc3619ca0
Make EDIT_UnlockBuffer cope with destroyed windows.
2001-03-05 19:29:47 +00:00
Eric Pouech
a862f68db5
Added a few missing stubs to KERNEL32 and USER32.
2001-02-26 22:33:29 +00:00
Dmitry Timoshkov
52ece0efef
Use GetSysColorBrush(COLOR_WINDOW) when there is no brush for drawing
...
background in listbox.
2001-02-26 22:31:55 +00:00
Dmitry Timoshkov
b32c00055c
Prepare background while drawing radio buttons and checkboxes.
2001-02-23 01:32:05 +00:00
Alexandre Julliard
da2892c0fb
Do not allocate any USER data on the system heap.
2001-02-23 01:13:42 +00:00
Guy L. Albertelli
79413eda91
- Restructure PaintText code to remove FillRect from owner-drawn path.
...
- Change SetFocus to indicate focus set only after Notify is sent to owner.
- Get more info in a trace.
2001-02-20 01:53:12 +00:00
François Gouget
b99367e20e
debugstr_xxx already does the quoting.
2001-02-14 21:42:10 +00:00
Dmitry Timoshkov
9316fa3db3
Convert menu item to seperator only when string is NULL.
2001-02-14 00:23:45 +00:00
Marcus Meissner
4a69939aa8
Don't crash on close from window manager.
2001-02-13 01:49:06 +00:00
Dmitry Timoshkov
bf60453c6a
Fix the behaviour of EM_GETLINE message.
2001-02-12 19:15:33 +00:00
James Abbatiello
8ac1acbb1a
Ownerdrawn combo boxes should use ODS_COMBOBOXEDIT in the itemState.
2001-02-12 01:17:16 +00:00
Guy L. Albertelli
4782b0e57f
- When painting the text, if the control is OWNERDRAWN the issue the
...
WM_DRAWITEM message.
- Set the focused status at the end of the end of the Setfocus routine.
- Flip the order of updating the list box and issuing the WM_NOTIFY
for CBN_EDITUPDATE to match native.
2001-01-26 20:59:51 +00:00
Dmitry Timoshkov
40fddf7c1b
Do not notify parent of the Edit control on WM_SETTEXT when Edit is
...
part of the ComboBox.
2001-01-26 20:37:18 +00:00
Patrik Stridvall
0c61028734
Documentation ordinal fixes.
2001-01-25 22:22:21 +00:00
Alexandre Julliard
c1d35ccd9b
Use DrawFrameControl() instead of OEM bitmaps to paint caption buttons
...
and menu check marks.
2001-01-24 19:47:57 +00:00
Dmitry Timoshkov
9c446a13cd
Protect read-only edit control from modification.
2001-01-22 19:28:27 +00:00
Francois Gouget
05fc3cdf9a
Typo fixes in comments.
2001-01-22 02:22:26 +00:00
Josh DuBois
d661dbdd6c
Specified 'signed' on chars compared to -1.
2001-01-19 20:51:44 +00:00
Dmitry Timoshkov
a234db82eb
Solve remaining problems with scroll bars in the edit control.
2001-01-19 20:49:54 +00:00
Dmitry Timoshkov
df793bcb68
Add one missing buffer size rounding in the edit control.
...
Make rounding code slightly more readable.
2001-01-15 20:20:31 +00:00
Alexandre Julliard
a41b2cfdd0
Moved tweak support to USER dll. Removed tweak.h and cache.h.
2001-01-15 20:12:55 +00:00
James Hatheway
f3ea345b2d
Guard against incoming string of NULL in WM_SETTEXT.
2001-01-12 23:01:41 +00:00