Ulrich Weigand
2faf2cf964
Perform 16/32A/32W message mapping for posted messages.
1999-12-10 03:47:13 +00:00
Dimitrie O. Paun
dd03cc19fd
Make use of the DEFAULT_DEBUG_CHANNEL where appropriate.
...
Use the default version of FIXME, ERR, WARN, TRACE for the default
channel.
1999-12-08 03:56:23 +00:00
Dmitry Timoshkov
0958a20725
Fix problem with EN_UPDATE notification sent by edit control.
1999-12-08 03:25:30 +00:00
Dmitry Timoshkov
38d04b8ff4
Allow to deselect all items by sending CB_SETCURSEL(-1) to the combo.
1999-12-06 00:57:20 +00:00
Dmitry Timoshkov
f92a777007
Remove hack for keyboard messages in dialogs.
1999-12-05 23:51:15 +00:00
Dmitry Timoshkov
92f376f78b
Show use of undocumented messages.
1999-12-05 02:45:10 +00:00
Dmitry Timoshkov
f4a27b8d41
When combobox selection changes, update its edit box accordingly.
1999-11-28 19:45:58 +00:00
Dmitry Timoshkov
e0f493e5b0
Notify parent of listbox if requested.
1999-11-28 19:44:33 +00:00
Rein Klazes
077ec0cffd
Send WM_CTLCOLOREDIT not WM_CTLCOLORSTATIC messages to parent of a
...
disabled edit control if the application expects a windows version
before WIN95 and NT40.
1999-11-10 19:55:29 +00:00
Jim Aston
aebda22e61
Fixed the height of the ComboBox drop list.
1999-11-07 21:04:57 +00:00
Karl Lessard
4a0a7df6a3
When a popupmenu is currently active on the screen, it shouldn't
...
remove mouse click messages that don't belong to it from the queue.
1999-11-07 05:17:10 +00:00
Marcus Meissner
2e48a2cc22
Do not clear the drawing area for etched static controls.
...
Replaced our own drawing stuff in etched static controls by DrawEdge.
1999-10-31 17:36:26 +00:00
Pierre Mageau
891d4d22a7
Fixed loop with WM_SYSCHAR.
1999-10-23 20:05:04 +00:00
Abey George
889a3be68f
Draw the item text from the top of the item rect.
1999-10-23 17:12:24 +00:00
Gerard Patel
8c36254147
Make WM_GETTEXTLENGTH return length for dropdownlist combos.
1999-10-13 13:50:17 +00:00
Francois Boisvert
73d7337e83
Removed FillRect in the ownerdrawn button procedure.
1999-10-13 13:49:42 +00:00
Juergen Schmied
371c420549
Made TrackPopupMenu with TPM_RETURNCMD returning the id instead of
...
true.
1999-10-13 12:27:44 +00:00
Karl Lessard
13409b32cd
Make ExecFocusedItem return -1 on failure.
1999-09-28 16:24:58 +00:00
Gerard Patel
6df0694f7c
Force recalculation of menu when calling InsertMenuItem.
1999-09-28 13:05:54 +00:00
Stephane Lussier
5ca2ec4288
Return key should not be ignored in multiline edit even if
...
ES_WANTRETURN flag isn't set.
1999-09-27 11:45:07 +00:00
Rein Klazes
61b15de4ba
Use an extra bit in the button status byte to flag whether the
...
DefButtonWndProc should process the WM_LBUTTONUP message.
1999-09-27 11:38:47 +00:00
Abey George
b59d4bc503
Don't send WM_ENTERMENULOOP, WM_INITMENU & WM_INITMENUPOPUP messages
...
when TPM_NONOTIFY flag is set in TrackPopupMenu.
1999-09-22 15:10:42 +00:00
Francis Beaudet
2862362259
Fixed display bug in the static control.
1999-09-20 18:28:08 +00:00
Pascal Lessard
445c910e89
Message removed when menu tracking finish on a WM_LBUTTONDOWN.
1999-09-20 18:27:14 +00:00
Dennis Björklund
4352c7a9d0
Send correct WM_MENUSELECT when menu closes.
1999-09-19 18:28:35 +00:00
Noomen Hamza
502e4f5dc6
The MDIClient class must be registered with the IDC_ARROW cursor.
1999-09-19 14:11:41 +00:00
Francis Beaudet
f132872741
Implemented the disabled state of the combobox.
1999-09-19 14:09:52 +00:00
Richard Cohen
56753621d3
Protect SetMenu from rogue menu handle.
...
GetMenu16 can just call GetMenu.
1999-09-19 14:08:13 +00:00
Pascal Lessard
07c447f971
Added a case for menu handling in win31.
1999-09-19 12:03:25 +00:00
Dennis Björklund
9af3ebaa7b
Fixed win9x look on checkboxes and radiobuttons.
1999-09-13 16:06:17 +00:00
Eric Pouech
0c62bf064d
Added MenuItemFromPoint stub.
1999-09-13 15:11:35 +00:00
Nick Holloway
b9ce4fd51b
For Win 3.x applications, if they have either horizontal or vertical
...
scrollbars, enable both.
1999-09-11 16:29:00 +00:00
Pierre Mageau
25c62cc61f
Set the mouse capture on the combo listbox.
1999-09-11 16:26:03 +00:00
Abey George
3cee09c0fc
Draw the focus rectangle for buttons with BS_3STATE, BS_RADIOBUTTON,
...
BS_CHECKBOX, BS_AUTO* styles.
1999-09-11 16:22:10 +00:00
Pascal Lessard
aed79e58c7
Implemented the behavior around the ES_WANTRETURN style in the edit
...
control.
1999-09-10 13:58:34 +00:00
Pierre Mageau
a433582363
Modified CBDropDown to find the best height of the listbox.
1999-09-05 12:12:30 +00:00
Stephane Lussier
cdb5650d1e
Initialize the enabling state variable in the edit.
1999-09-04 14:27:50 +00:00
Pascal Lessard
3405f5c6cd
The format rect is recalculated for each font change. MoveEnd &
...
MoveHome improved.
1999-09-04 10:59:07 +00:00
Pascal Lessard
2eb0a302a0
Menu hides when clicked for a second time.
1999-09-03 16:38:52 +00:00
Stephane Lussier
93805344ee
Keep the enable state in the edit structure instead of calling
...
IsWindowEnabled().
1999-09-03 16:37:00 +00:00
Francis Beaudet
49936036e6
Slight 1 pixel adjustment on the position of the radio button bitmap.
1999-09-03 15:07:21 +00:00
Pascal Lessard
6fe38e560e
The backspace is now handled in the WM_CHAR message.
1999-09-03 15:02:48 +00:00
Francis Beaudet
f22ff403ac
Fixed a little positioning bug with the checkbox.
1999-09-03 12:35:18 +00:00
Gerard Patel
8e5c72e195
Implemented wParam of WM_PAINT msg for edit control.
1999-09-03 12:23:52 +00:00
Stephane Lussier
a833f63783
Avoid changing the activation state in EnableMenuItem.
1999-08-21 14:46:06 +00:00
Rein Klazes
d35c834b77
Make sure that an empty string never matches a listbox entry in
...
LISTBOX_FindString().
1999-08-21 13:04:58 +00:00
Eric Pouech
562309adac
Fixed crash when accessing sysmenu.
1999-08-21 12:59:44 +00:00
Francis Beaudet
7ed1af3df3
Ensure that the WM_ENTERIDLE message is not sent if the wake-up event
...
for the MSG_InternalGetMessage() call is a WM_TIMER.
1999-08-15 16:58:03 +00:00
Pascal Lessard
dde4d61f5a
EM_SETSEL scrolls if outside of the visible range.
...
"shift+home" selection improved in the edit control.
1999-08-15 16:30:11 +00:00
Francis Beaudet
28d2ccb07c
Fixed the look of the combobox's drop down button when in Win95 look.
1999-08-14 15:51:49 +00:00
Francis Beaudet
742e135446
Handle the case when the button is really small.
1999-08-07 12:26:52 +00:00
Alexandre Julliard
15de615276
Got rid of dsprintf and related macros.
1999-08-04 12:22:42 +00:00
Patrik Stridvall
0e38aa7fda
Various ANSI C compability fixes.
1999-07-31 17:34:43 +00:00
Pascal Lessard
d814bb657a
Implemented the system button behavior and associated it to the system
...
menu in win95. Also permit the SC_CLOSE item to be disabled.
1999-07-31 13:02:02 +00:00
Rein Klazes
dbb4ad8284
Fix handling of WM_LBUTTONDCLICK message for buttons with certain
...
styles.
1999-07-31 11:10:52 +00:00
Pierre Mageau
cfbafe3247
Fixed a problem when the style is BS_BITMAP or BS_ICON: the bitmap or
...
icon needed to be centered when the button is smaller than the bitmap.
1999-07-30 18:03:15 +00:00
Francis Beaudet
06e8886ee8
Implemented proper win95 support for the WS_BORDER style.
1999-07-30 17:59:35 +00:00
Francis Beaudet
f6a225b84e
Changed the WS_BORDER style to a WS_EX_CLIENTEDGE style for the
...
listbox control.
1999-07-30 17:58:24 +00:00
Francis Beaudet
bc0b020428
Fixed the border for the listbox created by the simple combobox.
1999-07-30 17:57:45 +00:00
Abey George
6e013e5c24
Fixed incorrect edit control behaviour in mouse message handling.
1999-07-27 17:08:26 +00:00
Gerard Patel
c9a6d50c20
Several focus and selection problems in listboxes.
1999-07-25 13:03:17 +00:00
Huw D M Davies
df78d68589
Use GDI APIs to access bitmap info.
1999-07-25 11:15:54 +00:00
Dennis Björklund
b49b411784
Small fix in UITOOLS95_DrawRectEdge().
...
Also a fix to draw scrollbar-buttons more like in win9x.
1999-07-18 18:28:34 +00:00
Francis Beaudet
ba296e3898
Fixed fake WM_LBUTTONUP message.
1999-07-18 15:36:08 +00:00
Francis Beaudet
9b4748b6e5
Implemented the BS_ICON style.
1999-07-18 15:29:43 +00:00
Dennis Björklund
736eef4a20
Win9x look & feel on scrollbars.
1999-07-18 15:26:25 +00:00
Dennis Björklund
767b099fe8
Win9x look & feel on buttons and a fix for ownerdrawn buttons
...
(background set to COLOR_BTNFACE).
1999-07-15 16:07:19 +00:00
Luc Tourangeau
70cd8cb4ae
Added BN_CLICKED notification in WM_SETFOCUS.
1999-07-10 11:57:29 +00:00
Abey George
318832ea8e
Fixed the height of the dropped list when there are few items in the
...
list.
1999-07-10 11:34:01 +00:00
Ove Kaaven
a8aa5e4f63
Fixed check for whether to call SetWindowPos when showing a window
...
scroll bar.
1999-07-04 12:48:38 +00:00
Alexandre Julliard
6a232b0c40
Reverted previous change.
1999-07-03 15:51:07 +00:00
Gerard Patel
40ed511c86
Cancel pending notifications when EM_SETMODIFY is called.
1999-07-03 15:47:50 +00:00
Gerard Patel
ed941a101f
Make GetScrollInfo return scroll pos when program requests thumb pos
...
outside drag operation.
1999-07-03 11:52:38 +00:00
Patrik Stridvall
1ed4ecffa8
ANSI C fixes.
...
Removed warnings.
Made the include files self-sufficient.
Some Solaris fixes.
1999-06-26 14:58:24 +00:00
Slava Monich
359a748d9b
In case if scrollbar has the same background color as the window
...
it belongs to, it needs to be filled with 0x55aa bitmap brush.
1999-06-26 11:42:27 +00:00
Alexandre Julliard
9cbe067afa
Authors: Chris Morgan <cmorgan@wpi.edu>, James Abbatiello <abbeyj@wpi.edu>
...
Draw a 3D border around edit controls when not in WIN31_LOOK.
1999-06-26 11:38:13 +00:00
Alexandre Julliard
f9c20b6592
Authors: Chris Morgan <cmorgan@wpi.edu>, James Abbatiello <abbeyj@wpi.edu>
...
Only draw a black border around normal buttons when in WIN31_LOOK.
1999-06-26 11:37:18 +00:00
Noomen Hamza
46c4d39853
Remove the WM_LBUTTONUP message from the queue after selecting a mouse
...
menu item.
1999-06-26 10:14:27 +00:00
Patrik Stridvall
4bf335497d
Removed direct references to CLASS internals.
1999-06-12 14:52:15 +00:00
Francis Beaudet
6ec3eaf54b
Fixed a few behaviors of the combobox that were broken.
1999-06-12 10:51:19 +00:00
Ron Cemer
e0ec8fd931
Fixes for several bugs in which portions of the scrollbar were not
...
being redrawn correctly, the focus rectangle was not being correctly
removed from the thumb before redrawing, etc.; added complete Win9x
and WinNT look and feel support.
1999-06-06 17:19:18 +00:00
Eric Pouech
dfed208e90
When looking into sys menu, check if items are present before
...
dereferencing.
1999-06-05 11:43:50 +00:00
Rein Klazes
be7a9d16ea
Do not process WM_LBUTTONUP message in ButtonWndProc()
...
when the mouse is not captured.
1999-06-05 08:54:27 +00:00
Pascal Lessard
d9ab1f3f1c
Support TPM_RETURNCMD in TrackPopupMenu.
1999-05-29 10:56:43 +00:00
Paul Quinn
7572207564
Stop a listbox bug that causes a div by zero when the item height
...
is zero. Doesn't solve the root of the problem though.
1999-05-22 18:45:06 +00:00
Marcus Meissner
ddca315388
Replaced all occurences of SYSMETRICS_xx and sysMetrics[SM_xx] by
...
GetSystemMetrics(SM_xx), removed no longer needed includes of
sysmetrics.h.
1999-05-22 11:33:23 +00:00
Ulrich Weigand
ab7abb14bd
Removed superfluous WIN_ReleaseWndPtr.
1999-05-17 14:53:21 +00:00
Francois Boisvert
3b876e4040
Changed CBGetDroppedControlRect to be compliant with Windows API.
1999-05-14 18:37:28 +00:00
Alexandre Julliard
9fe7a2545a
Converted to the new debug interface, using script written by Patrik
...
Stridvall.
1999-05-14 08:17:14 +00:00
Juergen Schmied
4925186bb2
- prevent crash when GetMenuDefaultItem is called on empty menu
...
- set default item on system menu
1999-05-13 18:42:03 +00:00
Patrik Stridvall
1bb9403938
ANSI C fixes.
1999-05-08 15:47:44 +00:00
Gerard Patel
777508a214
Values returned from PtInRect and LB_ITEMFROMPOINT are reversed.
1999-05-08 12:35:17 +00:00
Francois Boisvert
428d298a64
Prevented LISTBOX_RepaintItem from repainting a non visible item.
1999-05-08 09:33:53 +00:00
Alexandre Julliard
06c275a643
Converted to the new debugging interface (done with the help of the
...
script written by Patrik Stridvall).
1999-05-02 14:32:27 +00:00
Pavel Roskin
845113c624
Pushbuttons should only be rounded in Win31 look.
1999-05-02 11:21:45 +00:00
Juergen Schmied
466a65205b
- default item handling
...
- small drawing fixes
1999-05-02 11:21:08 +00:00
Marcus Meissner
9aded5135c
Removed the gotos from the WndProcs, always use a small wrapper that
...
locks the window, calls the real wndproc, unlocks the window.
1999-05-01 10:23:45 +00:00
Juergen Schmied
cd0ed1e6b9
- align magic buttons right
...
- shortcuts alignment working again
1999-04-26 14:54:38 +00:00
Bertho Stultiens
d1895a776c
Built-in dlls now have resources attached via the PE-header like
...
normal dlls. This enables the use of the resource API.
1999-04-25 18:31:35 +00:00
Eric Pouech
8dde5a4fe4
Added missing WIN_ReleaseWndPtr.
1999-04-25 10:58:04 +00:00
Guy Albertelli
2fa281f90f
Fix locking with proper calls to WIN_ReleaseWndPtr.
1999-04-24 11:54:40 +00:00
Patrik Stridvall
0f8bc5b5c7
Fixed ANSI compabillity.
1999-04-22 16:27:50 +00:00
Michael Veksler
ff5ae3dd65
Removed some includes of 16 bit API.
1999-04-22 15:26:11 +00:00
Francis Beaudet
ab6f8616a5
Fixed a sizing bug in the combobox control.
1999-04-22 09:08:09 +00:00
Juergen Schmied
c77fd5b322
- protect TRACE against NULL-ptr
...
- rewrote GetMenuItemID/GetSubMenu to use MENU_FindItem (hmenu=0xffff fix).
1999-04-21 14:27:37 +00:00
Gerard Patel
3e60edfb04
Test for static was reversed.
1999-04-19 16:18:38 +00:00
Patrik Stridvall
b4b9fae671
New debug scheme with explicit debug channels declaration.
1999-04-19 14:56:29 +00:00
Juergen Schmied
7851394159
- use fonts/fontsizes given by SystemParametersInfo
...
- drawing/alignment fixes, win98 style for menubar
- ownerdrawn menus are working now for the first time
- complete constants magic items
- use right owner for popupmenus
- new: Get/SetMenuInfo
- implemented: Get/SetMenuContextHelpId
- more flags for Get/SetMenuItemInfo
1999-04-18 14:40:32 +00:00
Luc Tourangeau
891479963e
When the vertical scrollbar is removed, the background was not
...
properly repainted.
1999-04-18 09:23:56 +00:00
Pascal Lessard
026f705dbc
Implement the button with bitmaps.
1999-04-15 15:49:36 +00:00
Francois Boisvert
7273dcfa81
Add a WIN_ReleaseDesktop in DESKTOP_IsSingleWindow.
1999-04-15 15:15:34 +00:00
Juergen Schmied
7abca950e3
The MEASUREITEMSTRUCT and DRAWITEMSTRUCT were filled wrong.
1999-04-11 17:02:30 +00:00
Paul Millar
39da222b19
Fixed menu type setting in SetMenuItemInfo32_common().
1999-04-11 12:08:42 +00:00
Luc Tourangeau
5ee117ba22
WM_MOUSEMOVE implementation bug fix.
1999-04-04 12:48:21 +00:00
Gerard Patel
ffa0b1313f
Added missing goto.
1999-04-04 12:37:48 +00:00
Luc Tourangeau
df5fbc75d1
Background color fix when disabled or read only.
1999-04-03 11:14:30 +00:00
Francis Beaudet
f585c61dd1
Implemented the Win95 look and feel.
1999-04-02 10:37:42 +00:00
Alex Korobka
44a1b59cec
Fixes for ignored WVR_[VH]REDRAW flags, made minimization in managed
...
mode go through window manager, small bugfixes for menu and window
code, extended clipboard driver model to handle formats other than
text.
1999-04-01 12:03:52 +00:00
Pavel Roskin
dc75bd4038
EC_USEFONTINFO means es->char_width/3, not es->char_width. This is
...
true for multiline controls too, as my tests show.
1999-04-01 11:56:41 +00:00
Patrik Stridvall
b87fe2e9bf
More code moved to the X11 driver (bitmap and palette and misc).
1999-04-01 08:16:08 +00:00
Dimitrie O. Paun
05c0c8ef13
Changed some debug messages from one channel to another, to clean up a
...
bit the debug channel usage.
1999-03-28 15:07:41 +00:00
Francois Boisvert
3a3cd9fab1
Fixed some bugs in thread safeness for wnd struct.
1999-03-28 12:42:52 +00:00
Alex Korobka
4f1ac05dea
Moved hrgnUpdate from client to window coordinates, made nonclient
...
painting depend on the update region, reworked SetWindowPos() and
RedrawWindow() to speed up update region calculation, made -desktop
work properly, added WM_CANCELMODE here and there, fixed several
window activation bugs that crept in since the last time.
1999-03-28 09:37:57 +00:00
Francis Beaudet
8730e4572d
Fixed LB_GETCURSEL message to return LB_ERR on empty list.
1999-03-25 13:22:02 +00:00
Pascal Lessard
e69fcc054e
COMBO_Size: maintain the height of the RectCombo when the window is
...
resized.
1999-03-24 14:59:37 +00:00
Lawson Whitney
613092a6a5
Made LB_GETCURSEL return focus_item if no item has been selected.
1999-03-22 14:46:43 +00:00
Marcus Meissner
ac593bbd41
Fixed some warnings. removed some unneccessary includes, removed one
...
direct WND* access in controls/menu.c.
1999-03-17 15:18:28 +00:00
Francois Boisvert
6b1b41cf85
Made access to the wnd struct thread-safe.
1999-03-14 17:25:32 +00:00
Dirk Thierbach
09d9f2e53a
Paint gray text on gray background in checkboxes/radiobuttons by
...
stippling. Also changed the brush used in this case to give better
readability with X fonts.
1999-03-14 13:39:28 +00:00
Pavel Roskin
6d40d1b05f
Changed the button state to "up" as soon as it is known that the
...
selection has been cancelled, so the button is redrawn in the "up"
state.
1999-03-12 17:00:13 +00:00
Marcus Meissner
de43ef45ec
Fixed a lot of warnings using WINE_UNUSED, casts, commenting out and
...
additional {}. Rewrote GetCreationModeFromSTGM so we don't get
"possible use of uninitialized variable".
1999-02-28 19:56:59 +00:00
Marcus Meissner
064f170f76
More include optimisations and fixes.
1999-02-28 19:14:33 +00:00
David Luyer
ee517e863e
- fixed missing stdlib.h and string.h includes everywhere
...
- removed a couple of unneeded stdlib.h and stdio.h includes
1999-02-28 12:27:56 +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
Michael Veksler
3fbb8dc829
- Fix headers to include less or smaller header files.
...
- Fix header and source files to include missing header files to avoid
warnings and errors.
1999-02-21 18:23:26 +00:00
Jeff Garzik
c3e1f72bac
Added missing string.h include.
1999-02-19 15:42:11 +00:00
Francois Boisvert
308c6afe62
Implementation of the pushed close button.
1999-02-18 10:37:17 +00:00
Francois Gouget
289211cc3b
Fixed a number of warnings concerning the matching of the printf
...
format string and the associated parameters (actually it's mostly
TRACE and FIXMEs).
1999-02-17 16:15:11 +00:00
Marcus Meissner
317af320cf
Optimized include/*.h: (recursively) include all headers needed by
...
this .h file, but only those. Necessary fixes to a lot of .c files,
started optimizing "windows.h" away from some of them. Moved
GetCurrentTask prototype to wine/winbase16.h.
1999-02-17 13:51:06 +00:00
Francois Boisvert
85dd9fcab7
Give the context menu its proper behaviour and modify TrackPopupMenu
...
to comply with windows API.
1999-02-17 12:50:11 +00:00
Pascal Lessard
4727423f30
Change the GetMenuItemRect to comply with windows API.
1999-02-13 12:21:46 +00:00
Francois Boisvert
197a8e163e
Implemented the WIN31 Look mdi buttons and also some defines for the
...
magic menu items.
1999-02-13 09:10:17 +00:00
Andreas Mohr
5f5213ade8
An app left junk in the undo buffer of an edit control upon creation.
1999-02-13 09:04:22 +00:00
Stephane Lussier
b3a99de50d
-Fixed MESSAGE functions that were thunking down to 16 bits implementation.
...
So PeekMessage32, GetMessage32, PostMessage32, PostThreadMessage are fixed
with this patch. Unicode version of those functions is currently only
calling the ASCII version.
-Fixed queue signaling using a new EVENT object in the queue for 32 bits
thread. MsgWaitForMultipleObject has been fixed and is now blocking on the
right EVENT.
1999-02-09 15:35:12 +00:00
Francois Boisvert
8b39174cc2
Implemented the magic menu items id's used by windows when inserting
...
the minimize/maximize/close buttons in the menu bar of an application.
1999-02-09 14:09:55 +00:00
Patrik Stridvall
8d8703cb48
Moved some more code to the X11 driver.
1999-02-04 14:05:38 +00:00
NF Stevens
762f18d664
Change SW_??? options on list box scrolling so that they match what
...
Windows does.
1999-01-24 19:02:16 +00:00
Gerard Patel
c9b6534154
Changed EDIT_EM_CharFromPos to return line number.
1999-01-24 18:57:23 +00:00
Niclas Karlsson
a0dc4e493f
Removed DT_SINGLELINE and DT_NOCLIP styles for SS_LEFTNOWORDWRAP.
1999-01-23 12:22:20 +00:00
Marcus Meissner
9ad9017edd
Do not call ownerdraw for invalid items (empty focusrects).
...
Fixes Eudora 16bit empty Inbox problem.
1999-01-20 14:08:00 +00:00