Commit Graph

164 Commits

Author SHA1 Message Date
Mike McCormack cb97a3bf8d Use WIN_ReleasePtr not WIN_ReleaseWndPtr with WIN_GetPtr. 2001-10-18 21:33:03 +00:00
Gerard Patel 1e8b025423 Fix the case where child=0 (last child) in MDI_ChildActivate. 2001-10-15 18:00:09 +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
Joshua Thielen 26c4d6b3a4 Changed MDICreateChild to support CW_USEDEFAULT for 16-bit MDI
windows.
2001-09-19 22:33:01 +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
Alexandre Julliard f44bbb8d10 Make sure that HWND comparisons are always done with full 32-bit
handles.
2001-09-14 00:24:39 +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 0801ffc5a3 Implemented GetAncestor and removed WIN_GetTopParent.
Removed a few more accesses to the WND structure.
2001-08-24 00:26:59 +00:00
Alexandre Julliard 4ff32c8aef Removed a number of direct accesses to the window structure. 2001-08-18 18:08:26 +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 cb25e2506f Replace SendMessage16 by SendMessageW where possible. 2001-08-08 23:28:42 +00:00
Alexandre Julliard ef06b4a694 Got rid of HEAP_strdupW. 2001-07-22 23:08:10 +00:00
Patrik Stridvall e9782fa1fc Documentation fixes. 2001-07-12 22:33:51 +00:00
Patrik Stridvall 044855c6ec Documentation fixes. 2001-07-11 18:56:41 +00:00
Dmitry Timoshkov 56a19923e8 Replace some 16-bit calls by their 32-bit equivalents. 2001-07-02 01:21:26 +00:00
Bill Medland 31eaee4539 Only measure child rectangles of visible children when deciding about
scroll bars.
2001-05-16 20:06:20 +00:00
Patrik Stridvall 15a3b74356 Documentation name fixes. 2001-04-27 18:03:51 +00:00
Alexandre Julliard da2892c0fb Do not allocate any USER data on the system heap. 2001-02-23 01:13:42 +00:00
Dmitry Timoshkov 2b560c75f9 Remove redundant parameters from MDICreateChild and MDIDestroyChild.
Make the parameter names slightly more descriptive.
2001-02-12 18:09:51 +00:00
Dmitry Timoshkov 91adf0aa4e Added unicode MDI client window proc. 2001-02-12 03:40:41 +00:00
Dmitry Timoshkov aab85d72bd Initialize MENUITEMINFO structure before calling GetMenuItemInfo. 2001-01-15 20:21:15 +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
Patrik Stridvall 2ece70e77b Various documentation fixes. 2000-12-22 01:38:01 +00:00
François Gouget 44a182229b winuser.h now requires that we include winbase.h first. 2000-12-19 04:53:20 +00:00
Alexandre Julliard 982a223f36 Replaced PTR_SEG_TO_LIN macro by exported MapSL function.
Fixed a few ptr/segptr mismatches.
Moved CONV_RECT/POINT macros to wingdi16.h.
2000-12-13 20:20:09 +00:00
Alexandre Julliard 91222da881 Moved most builtin controls structures into their respective C file.
Created new controls.h file private to user32.dll and moved remaining
builtin controls definitions there.
2000-12-10 23:01:33 +00:00
Alexandre Julliard 9877906b26 Removed dependencies on the internals of the CLASS structure.
Added support for having both ASCII and Unicode window procedures for
builtin classes.
2000-12-07 23:39:16 +00:00
Andreas Mohr 94a6832b04 WM_SETTEXT should return TRUE on success. 2000-11-29 00:02:46 +00:00
Alexandre Julliard 2682bc24ca Fixed a few dependencies on 16-bit or internal functions. Fixed a few
warnings.
2000-11-27 22:03:23 +00:00
Ulrich Weigand 1848c808d3 Watch out for DefMDIChildProc calls on non-MDI-child windows. 2000-10-19 20:24:06 +00:00
Alexandre Julliard 83f52d11c1 Moved all Win16 definitions out of the standard Windows headers. 2000-09-26 22:20:14 +00:00
Dmitry Timoshkov 73968f0bd3 Simplify a bit MDI child window creation. 2000-09-09 19:38:52 +00:00
Alexandre Julliard a1ce916171 Serge Ivanov
Delay destroying menu entry until all messages are sent.
2000-09-06 19:40:07 +00:00
Alexandre Julliard 60cf612b59 Henning Hoffmann
Augment menu when a mdi window starts maximized.
2000-09-01 01:24:19 +00:00
Alexandre Julliard bd616cb02e Francis Beaudet
MDI Patch which fixes problems in PR, QP, WP and Paradox.
2000-09-01 01:23:03 +00:00
Alexandre Julliard c7e7df8b17 Replaced all lstr* calls from inside Wine code by their str* equivalent. 2000-08-14 14:41:19 +00:00
Dmitry Timoshkov 04da8b8f28 Convert WND.text field to Unicode.
Add new key to wine.ini in the section [x11drv] - TextCP, which means
code page used for texts passed to X.
Accordingly fix handlers of WM_SETTEXT/WM_GETTEXT.
2000-07-10 12:09:31 +00:00
David Lassonde f58d80d17f Implemented the More Windows... menu item for MDI. 2000-06-15 01:03:32 +00:00
Guy L. Albertelli c0504ca5f6 Verify the menu handle is non-zero prior to use. 2000-05-10 21:39:00 +00:00
Gerard Patel a2e1b412cf Always calls SetMenu in MDISetMenu. 2000-05-07 18:25:33 +00:00
Patrik Stridvall 54fe8380a1 Fixed some issues reported by winapi_check. 2000-04-06 20:21:16 +00:00
Patrik Stridvall 2d6457c11a Added/fixed some documentation reported by winapi_check. 2000-03-28 20:22:59 +00:00
Huw D M Davies 738c06d945 Fixed copying of the MDI 'Windows' menu items if the items are not of
type MFT_STRING.
2000-03-24 19:49:13 +00:00
Matthew Cline c448c5cf53 Check that ci->hWindowMenu is not zero before using it. 2000-02-13 15:05:07 +00:00
Jeremy White d3e22d9d55 Removed #include of wingdi.h and windef.h from winuser.h (and resolved
the resulting compilation failures).
2000-02-10 19:03:02 +00:00
Alexandre Julliard b2f6f0e7d2 Removed resource.h. 2000-02-03 01:54:36 +00:00
Gerard Patel e8a3d0713f Fix parameters for MDI_RestoreFrameMenu in WM_DESTROY msg. 2000-01-23 03:19:44 +00:00
Francois Gouget baa9bf9a23 Buffer overflows and strncpy fixes. 1999-12-27 05:24:06 +00:00
Marcus Meissner e6c6390c21 Check for passed invalid window handle in DefMDIChildProc*. 1999-12-12 19:39:37 +00:00
Francis Beaudet 458719dc20 Fixed a small bug in the behavior of maximized MDI children. 1999-10-31 17:35:06 +00:00