140 Commits

Author SHA1 Message Date
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
Francois Boisvert
6b1b41cf85 Made access to the wnd struct thread-safe. 1999-03-14 17:25:32 +00:00
Norman Stevens
460881ce82 Don't check children of disabled or invisible controls for dialog
keyboard accelerators. Fixes problems with dialogs with tab boxes.
1999-02-28 09:59:32 +00:00
Alexandre Julliard
a396029270 Large-scale renaming of all Win32 functions and types to use the
standard Windows names.
1999-02-26 11:11:13 +00:00
Marcus Meissner
61afa33b03 Some more recursive include fixes/optimizations. 1999-02-22 10:16:00 +00:00
Eric Pouech
b9544f159d Changed some functions prototypes (were returning void). 1999-02-14 14:09:42 +00:00
Gerard Patel
902f9c65a5 Fix if EndDialog called in WM_INITDIALOG (DIALOG_DoDialogBox). 1999-02-14 11:22:03 +00:00
Stephane Lussier
b3a99de50d -Fixed MESSAGE functions that were thunking down to 16 bits implementation.
So PeekMessage32, GetMessage32, PostMessage32, PostThreadMessage are fixed
with this patch. Unicode version of those functions is currently only
calling the ASCII version.
-Fixed queue signaling using a new EVENT object in the queue for 32 bits
thread. MsgWaitForMultipleObject has been fixed and is now blocking on the
right EVENT.
1999-02-09 15:35:12 +00:00
Alexandre Julliard
cb8ef7d2bb Dialog window should not be destroyed in DefDlgProc; this break
modeless dialogs.
1999-01-31 15:02:23 +00:00
Marcus Meissner
03479f8adb Fixed a lot of warnings for possible problems. 1999-01-28 10:06:38 +00:00