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