Commit Graph

1584 Commits

Author SHA1 Message Date
Bill Medland
df0916b494 Added the automatic tabbing in IsDialogMessage.
Added corrections to GetNextTab/GroupItem.
Included tests.
2004-02-12 02:16:33 +00:00
Alexandre Julliard
a2e2e18586 Avoid a few more GetModuleHandle calls. 2004-02-12 00:35:01 +00:00
Alexandre Julliard
f0b082b354 Dynamically retrieve the metrics that depend on the screen size (based
on a patch by Alex Pasadyn).
Get rid of the no longer used SM_WINE_BPP metric.
2004-02-10 02:25:23 +00:00
Alex Pasadyn
e7499dc2cc Report the mouse wheel as present in the system metrics. 2004-02-07 01:28:23 +00:00
Dmitry Timoshkov
9b24af8acb Add a test case and a fix for the window styles state at the window
creation time.
2004-02-06 05:18:56 +00:00
Rein Klazes
d68477711b Change return code from ExitWindowsEx() (and with that related
ExitWindows* functions) from FALSE to TRUE.
2004-02-05 01:24:48 +00:00
Dmitry Timoshkov
df0ddd4a96 Make the MDI Window menu refreshing Windows compatible.
Simplify MDI child visibility check.
2004-02-03 00:08:51 +00:00
Dmitry Timoshkov
4f9b4fd38d Test whether an active maximized MDI child is visible. 2004-02-02 23:02:03 +00:00
Alexandre Julliard
417bcb35a2 Fixed 16-bit MDI support (based on a patch by Dmitry Timoshkov). 2004-01-28 21:43:36 +00:00
Alexandre Julliard
55d72b792f lpCreateParams should be a SEGPTR in 16-bit code. 2004-01-28 21:41:56 +00:00
Alexandre Julliard
df5800fdd7 Properly translate the message result for WM_GETTEXT-style messages. 2004-01-27 20:28:42 +00:00
Dmitry Timoshkov
ae23340c35 - Add the same protection to MDI_AugmentFrameMenu as one existing in
MDI_RestoreFrameMenu against repetitive calls.
- Use Windows default icon for system menu bitmap if there is no one
  supplied by a child window as Windows does.
- Use GetSystemMenu() to load system menu for a child window,
  otherwise there is no way to generate WM_SYSCOMMAND menu messages.
- Restore check in WM_SIZE MDI child handler erroneously removed
  earlier.
2004-01-27 03:57:10 +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
Dmitry Timoshkov
b9e56b9b99 In the WM_MDISETMENU handler use an existing frame menu if the passed
value is 0.
Visio expects that separator in the Window menu has ID 0.
Cope with a destroyed menu handle in WM_MDIREFRESHMENU handler.
2004-01-26 20:14:59 +00:00
Alexandre Julliard
d07c1004e3 Moved a few remaining 16-bit definitions out of the standard headers. 2004-01-23 22:51:41 +00:00
Huw Davies
f96abb20f6 Add correct treeview structs to message spy. 2004-01-21 22:16:46 +00:00
Rein Klazes
15a4fef9a3 In RDW_UpdateRgn(), if hRgn is zero, clear the windows update region
if it is an empty region.
2004-01-21 02:18:51 +00:00
Dmitry Timoshkov
dc70553cae Merge the MDI and common window creation code. Change the way MDI
children are managed in MDIClient.
Add support for MDICREATESTRUCT A<->W conversions.
Add support for WM_MDIREFRESHMENU.
2004-01-20 04:29:20 +00:00
Alexandre Julliard
6ec42c0c3b Moved a bunch of definitions from gdi.h into a new gdi_private.h to
make sure we don't use them outside of gdi32.
2004-01-15 00:35:38 +00:00
Alexandre Julliard
53145d96f6 Moved some code around to avoid exporting DIB functions from gdi32. 2004-01-13 23:31:46 +00:00
Alexandre Julliard
a51bb8151d ScrollDC doesn't need to be in the graphics driver. 2004-01-12 21:15:16 +00:00
Alexandre Julliard
5d19e6c374 Converted DlgDirList to Unicode. 2004-01-06 20:51:40 +00:00
Robert Shearman
30a520e235 Add missing \n on error message. 2004-01-06 20:40:48 +00:00
Steven Edwards
892a28323b Split up the Win16/32 MDI support a bit. 2004-01-02 20:48:13 +00:00
Chris Morgan
4e2c03644c Make the debug mark printing unconditional instead of conditional upon
the  SHELL debug channel.  Make mark text obvious by changing the
output text to 'Debug mark requested by user' and adding 'Debug mark'
to the menu resource text.
2004-01-02 01:50:50 +00:00
Alexandre Julliard
446d8321a7 Store window icons in the window structure so that WM_SETICON can do
the right thing (based on a patch by Aric Stewart).
2003-12-31 23:51:52 +00:00
Dmitry Timoshkov
1a620f29d2 Add MDI child creation tests. 2003-12-30 21:54:54 +00:00
Mike Hearn
9a1e0a097e Prevent false matches in WIN_FindWindow. 2003-12-30 19:09:50 +00:00
Alexandre Julliard
bd13ab8d78 Store a pointer to the client-side class structure in the server and
return it on create_window and destroy_class.
Only create a single instance of the desktop class for the whole
session.
Added some missing locking in the client-side class management.
2003-12-11 05:34:53 +00:00
Alexandre Julliard
b0622101b6 System classes must not have the CS_GLOBALCLASS style. 2003-12-10 04:14:35 +00:00
Alexandre Julliard
bfce151ae5 Added window classes in the server, and support for inter-process
GetClassWord/Long (based on a patch by Mike McCormack).
Various fixes to the class instance handling.
2003-12-10 04:08:06 +00:00
Andreas Rosenberg
2fa87d2908 Point size in DLG_TEMPLATE may be negative. 2003-12-10 02:12:09 +00:00
Alexandre Julliard
5f32566530 Made all the RegisterClass and GetClassInfo variants call the
corresponding Ex function.
2003-12-10 01:46:52 +00:00
Alexandre Julliard
ebf1243ec1 Added support for inter-process GetWindowWord.
Do better range checking on the window extra bytes.
2003-12-10 01:34:51 +00:00
Kevin Koltzau
cc09196356 Implemented GetTitleBarInfo. 2003-12-08 23:46:29 +00:00
Alexandre Julliard
5329fc8902 Get rid of clipboard.h. 2003-12-05 04:45:50 +00:00
Alexandre Julliard
09791702e0 In RDW_ValidateParent, get rid of the parent update region if it is
empty after the validation, to avoid a useless WM_PAINT.
2003-12-05 04:42:43 +00:00
Steven Edwards
cfcc449324 Porting fixes. 2003-11-26 22:29:30 +00:00
Alexandre Julliard
97903d260b Added support for inter-process GetWindowLong on the window extra
bytes.
2003-11-26 22:15:41 +00:00
Dmitry Timoshkov
86e4079bc2 Make Alt+[national key] menu shortcuts work. 2003-11-26 05:08:48 +00:00
Kevin Koltzau
358fff8142 Implement the TME_NONCLIENT flag in TrackMouseEvent to handle
nonclient hover/ leave events.
2003-11-26 05:06:59 +00:00
Alexandre Julliard
b7976c00a0 Fixed declarations of BroadcastSystemMessage and TranslateAccelerator
in winuser.h. Added GetWindowModuleFileName.
2003-11-26 04:09:00 +00:00
Alexandre Julliard
f9be2f3d21 Removed some unnecessary includes. 2003-11-17 20:31:29 +00:00
Dmitry Timoshkov
b0c2e54a03 Add preliminary support for keyboard layout APIs. 2003-11-14 03:32:43 +00:00
Rein Klazes
df93214a52 If GetNextDlgTabItem() cannot find any next control, return the handle
of the original control.
2003-11-09 00:26:26 +00:00
Alexandre Julliard
47f62a402a Set %fs and %gs in the register context to their current value when
calling 16-bit code.
2003-11-05 00:46:44 +00:00
Dmitry Timoshkov
41566f2a0b Add common dialog notification messages and WM_SIZE. 2003-11-03 22:14:04 +00:00
Alexandre Julliard
6d9350fa1f Use a timeout when sending broadcast messages. 2003-10-31 04:18:55 +00:00
Rein Klazes
dc969d4704 Correct the logic that decides whether a WM_SYSKEYUP/DOWN or a
WM_KEYUP/DOWN message is to be sent.
2003-10-28 00:02:57 +00:00