Commit Graph

149 Commits

Author SHA1 Message Date
Alexandre Julliard 908464d448 Authors: Andreas Mohr <amohr@codeweavers.com>, Dimitrie O. Paun <dimi@cs.toronto.edu>, Patrik Stridvall <ps@leissner.se>
Various warning fixes.
2000-11-01 03:11:12 +00:00
Dmitry Timoshkov 75b25be6ee Display an ERR on errors while initializing USER. 2000-10-31 01:01:41 +00:00
Alexandre Julliard 072dfb57e3 Removed inclusion of wine/winestring.h from winbase.h and added it to
the C files that need it.
2000-09-25 23:30:56 +00:00
Gerald Pfeifer 1b490b42bf Fixed format strings. 2000-09-24 03:05:11 +00:00
Gerard Patel f314e5e76b Disable the owner of a modal dialog box just before creating the
dialog window.
2000-08-21 03:31:39 +00:00
Gerard Patel e3bd8d0adf Turns the handling to pure 16 bits, remove references to dialog.h. 2000-08-18 23:05:44 +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
Alexandre Julliard b0efe28f6c Removed a few dependencies on GDI internals from USER dll. 2000-08-04 04:18:04 +00:00
Stephane Lussier 52146f62fd - UpdateWindow should refresh all children that have an update region.
- In DIALOG_CreateIndirect UpdateWindow shouldn't be called. Wine will generate
  a WM_PAINT eventually for the dialog, no need to force a paint right away.
(based on a patch from James Hatheway in the Corel tree)
2000-07-28 20:19:37 +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
Slava Monich e6dd5d1cad Check the value returned by DIALOG_GetCharSize. 2000-07-08 18:27:24 +00:00
Sheri Steeves a4b73d43cd Check again for GetNextDlgTabItem after return from WM_INITDIALOG
message in dialog creation.
2000-06-15 01:00:42 +00:00
Bernd Herd 5b60bf0294 Pass CTLDATA as SEGPTR for 16-bit programs. 2000-05-11 00:05:22 +00:00
Gerard Patel 2b37da6792 Check if dialog is visible before setting the focus. 2000-04-23 19:57:50 +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
Andrew Lewycky 0ceb255054 Propagate IsDialogMessage to the parent if the dialog has the
DS_CONTROL flag.
2000-03-19 14:20:52 +00:00
Patrik Stridvall 6cc47d4924 Removed a lot of unnecessary includes and fixed the compile errors. 2000-03-08 18:26:56 +00:00
Andreas Mohr 1c20b39fa5 - fixed my slightly incorrect EndDialog patch
- cleaned up win.c
2000-02-20 19:17:35 +00:00
Andreas Mohr beae14de0c Protect EndDialog() from invalid window handles. 2000-02-12 13:21:23 +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
Dmitry Timoshkov 6fb62f52f5 Correct the behaviour of the accelerator keys in dialogs according to
the Windows' one.
2000-01-29 22:09:40 +00:00
Juergen Schmied a4d7ca0f22 Corrected parameter count for DialogBoxIndirectParamAorW. 2000-01-04 00:29:44 +00:00
Dmitry Timoshkov b7bb42d9d4 Restore erroneously deleted lines. 1999-12-25 22:52:44 +00:00
Alexandre Julliard e6b82e7662 Murali Pattathe
GetNextDlgGroupItem: needs to check the control parent is the main dialog.
GetNextTabItem: make sure this control is visible and not disabled.
1999-12-12 20:17:59 +00:00
Ulrich Weigand 2faf2cf964 Perform 16/32A/32W message mapping for posted messages. 1999-12-10 03:47:13 +00:00
Dmitry Timoshkov f92a777007 Remove hack for keyboard messages in dialogs. 1999-12-05 23:51:15 +00:00
David Grant edb77973f1 Windows sends WM_GETDLGCODE only in response to keyboard messages
(WM_KEYDOWN, WM_CHAR, WM_SYSCHAR).
1999-11-07 21:02:17 +00:00
Ulrich Czekalla 1720c98515 Implemented support of DS_CONTROL and WS_EX_CONTROLPARENT styles. 1999-10-31 21:35:35 +00:00
Adrian Thurston 00442ba5ae Protect against wrong return value from WM_INITDIALOG. 1999-10-23 16:48:05 +00:00
Abey George 3336f48565 Changed EndDialog to behave like as in Windows.
Call SetWindowPos instead of ShowWindow in EndDialog.
1999-10-13 15:45:23 +00:00
Richard Cohen 0ded0fe323 No longer needs to calculate its own character size. 1999-09-05 12:25:33 +00:00
Marcus Meissner 6f7797bc77 More restrictive checks, so DIALOG_IsAccelerator don't loop
endlessly.
1999-09-03 16:39:36 +00:00
Francis Beaudet eb13dd4291 Removed truncating errors that happen when converting fom dialog units
to pixels.
1999-09-03 15:14:27 +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
Abey George 15c58c4239 Set focus to the dialog in EndDialog. 1999-08-07 14:10:04 +00:00
Stephane Lussier 18613bb7c7 Re-enable the owner window in the EndDialog(). 1999-07-24 10:18:02 +00:00
Ove Kaaven 483c548eed CreateDialogParamA should not call CreateDialogParamW, because
that'd create a dialog box with a Unicode dialog procedure...
1999-07-18 15:29:09 +00:00
Ulrich Weigand f03c93669b Create dialog window using CreateWindowEx16/W depending on template
type, not dialog procedure type.
1999-07-10 13:08:50 +00:00
Alexandre Julliard 359f497e97 Converted to the new debug interface, using script written by Patrik
Stridvall.
1999-07-04 16:02:24 +00:00
Pavel Roskin 4b5f876e74 DIALOG_ParseTemplate16() supported up to 127 controls. Bigger values
were expanded to WORD incorrectly.
1999-06-12 08:11:32 +00:00
Slava Monich 3a170a1724 Implemented dialog units -> pixels conversion very close to how it's
actually done by Windows.
1999-06-06 09:03:08 +00:00
Luc Tourangeau 8e238d04f8 Reimplemented the CheckRadioButton function. 1999-05-29 14:19:42 +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 9c3b18fa38 Fixed window refcount handling in GetNextDlgGroupItem. 1999-05-17 14:54:09 +00:00
Noel Borthwick 0b027d6c7e Fixed an unbalanced windows lock/unlock sequence in GetNextDlgTabItem. 1999-05-02 09:16:44 +00:00
Patrik Stridvall b4b9fae671 New debug scheme with explicit debug channels declaration. 1999-04-19 14:56:29 +00:00
Francois Boisvert 3a3cd9fab1 Fixed some bugs in thread safeness for wnd struct. 1999-03-28 12:42:52 +00:00
Francis Beaudet f91e6d037e Fixed possible endless loop. 1999-03-25 13:22:42 +00:00
Andreas Mohr 01f8426f4a Hide dialog windows created by CreateDialog* in EndDialog just as
Windows does.
1999-03-19 16:49:30 +00:00