Commit Graph

199 Commits

Author SHA1 Message Date
Alexandre Julliard 864ca06832 winnls.h must not include winbase.h. 2003-08-20 18:22:31 +00:00
Mike McCormack d30469971e Strip WS_CAPTION and WS_SYSMENU for child dialogs. 2003-07-18 23:00:14 +00:00
Alexandre Julliard 04c1f9f88c Only compute dialog base units once we need them. 2003-07-09 19:53:17 +00:00
Dmitry Timoshkov 5e10df3e12 Windows treats dialog control class ids 0-5 same way as 0x80-0x85. 2003-05-11 02:43:11 +00:00
Alexandre Julliard a65a8a6a8e Moved 16-bit dialog routines to a separate dialog16.c file.
Fixed window creation to create ASCII windows when called through one
of the ASCII dialog functions.
2003-03-28 19:40:37 +00:00
Tony Lambregts 7ce3a5ad63 Replace DPRINTF with TRACE. 2003-03-14 04:11:17 +00:00
Francois Gouget d2667a4ce3 Removed unnecessary HANDLE typecasts. 2002-12-02 18:10:57 +00:00
Alexandre Julliard 1b20db4f19 Added CS_DBLCLKS style to dialog window class. 2002-11-25 21:10:23 +00:00
Alexandre Julliard aff7ddaeeb Made user compile with -DSTRICT. 2002-11-22 21:22:14 +00:00
Alexandre Julliard a8a422f70d Fixed more -DSTRICT issues. 2002-11-22 20:43:01 +00:00
Dmitry Timoshkov 601a3abec1 Fix some types and function prototypes according to Platform SDK
definitions.
2002-10-31 01:04:39 +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
Patrik Stridvall b5bb32c09a Fixed some issues found by winapi_check. 2002-09-24 18:29:39 +00:00
Michael Stefaniuc 9d2b862883 Convert HRSRC to a void*. 2002-09-16 22:47:05 +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
Alexandre Julliard f5e5fcac97 Tried to make IsDialogMessageW more compatible. Changed
IsDialogMessage16/A to call IsDialogMessageW.
2002-07-05 00:23:02 +00:00
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +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
Huw D M Davies 79fdd847e0 The horizontal dialog base unit is calculated as the straight average
of a-z,A-Z (tmAveCharWidth is supposed to be a weighted average
according to character usage, so we shouldn't use this).
2002-04-03 20:06:04 +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
Alexandre Julliard 9f5922089a Removed no longer used average width calculation. 2002-01-22 20:09:44 +00:00
Alexandre Julliard d7b76822ef Use MapLS/UnMapLS instead of SEGPTR_* macros. 2001-12-20 00:19:40 +00:00
Dave Hawkes 5446abe87a DIALOG_CreateIndirect can incorrectly kill the current input focus. 2001-12-06 22:21:36 +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 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
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 37a4639ee1 Make sure that functions returning an HWND always return a full 32-bit
handle.
2001-09-12 17:19:13 +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 cb25e2506f Replace SendMessage16 by SendMessageW where possible. 2001-08-08 23:28:42 +00:00
Alexandre Julliard bfb4a23aa9 Replaced MSG_InternalGetMessage calls by equivalent exported APIs. 2001-08-06 18:05:47 +00:00
Bill Medland 137420a0f0 Correct the location of the style patching for the edit control. 2001-07-11 17:26:33 +00:00
Patrik Stridvall 01d5e5b071 Documentation fixes. 2001-07-02 19:59:40 +00:00
Patrik Stridvall 17fd4e3816 Documentation name fixes. 2001-06-28 18:04:41 +00:00
Alexandre Julliard 0ca9465f58 Removed unneeded inclusion of queue.h. 2001-06-07 22:29:33 +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 f88e5aa7bf Cleaned up assumptions about WS_CHILD flag so that we can allow it to
be changed in SetWindowLong.
2001-03-21 23:55:36 +00:00
Gerard Patel 53cad8b77a Unblock the dialog message loop with a WM_NULL message. 2001-03-05 19:59:50 +00:00
Patrik Stridvall 0c61028734 Documentation ordinal fixes. 2001-01-25 22:22:21 +00:00
Ulrich Weigand cc195924a6 Added check whether unaligned memory access is allowed.
Added macros to access unaligned WORDs / DWORDs.
2000-12-27 04:18:26 +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
Gerard Patel 6e8519b128 Allow for the dialog font size to be set directly in pixels. 2000-12-18 03:11:10 +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 24a62ab9b0 Got rid of the Wine internal lstrcpy* functions and of winestring.h. 2000-11-28 22:40:56 +00:00
Alexandre Julliard ac7efef3b5 Changed GetProcAddress16 and 16-bit resource functions to take normal
pointers instead of SEGPTRs.
Removed WIN16_GetTempDrive.
2000-11-27 21:54:01 +00:00
Dmitry Timoshkov 780bb79612 Add support for national characters as accelerators in dialogs. 2000-11-25 02:10:04 +00:00