Commit Graph

1150 Commits

Author SHA1 Message Date
Alexandre Julliard 1da348910e Fixed WM_GETTEXTLENGTH handling. 2001-02-14 21:50:09 +00:00
François Gouget 0124576cda Be smarter about the ellipsis in SPY_GetWndName. 2001-02-14 21:43:20 +00:00
François Gouget 4188fbcb9b Misc typos in comments. 2001-02-14 21:43:06 +00:00
Susan Farley 5c2cbc6850 Exception for allowing the parent to set the cursor for a child wnd is
when the cursor is on the border of a resizable wnd.
2001-02-14 00:25:53 +00:00
Marcus Meissner 5bcef61fba PostMessageA/W ignores messages containing pointers and returns
FALSE/LastError ERROR_INVALID_PAREMETER.
2001-02-13 01:48:39 +00:00
François Gouget 2c86506164 CreateIcon must perform color depth conversion if the provided bitmap
is not of the same depth as the screen.
Added some documentation.
2001-02-13 01:48:14 +00:00
Aric Stewart 039ae272d3 If an application directly calls SetClipboardData with CF_TEXT and
then later called GetClipboardData with CF_TEXT we gave them a NULL
because we where not handling this case.
2001-02-12 19:16:05 +00:00
Andreas Mohr cd5f28bd69 Make sure that MSG_PeekMessage uses an internal variable to avoid
corruption.
2001-02-12 19:15:06 +00:00
Andreas Mohr 312303acaf - move TSXGrabServer after a possible return FALSE;
- move misplaced comment
- optimize TSXGrabServer use
2001-02-12 18:10:27 +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
Francois Gouget b87a83866f Change the callback declarations to a safer format. 2001-02-12 03:51:04 +00:00
Patrik Stridvall df75e89df5 Documentation name fixes (always use external name). 2001-02-12 03:49:07 +00:00
James Abbatiello 45edb2fcb3 Fix a few compiler warnings. 2001-02-12 03:42:58 +00:00
Dmitry Timoshkov 91adf0aa4e Added unicode MDI client window proc. 2001-02-12 03:40:41 +00:00
Josh DuBois 2c6e3ff0d5 Fixed a char that should have been signed. 2001-02-12 03:39:34 +00:00
Ulrich Weigand 52e891d5ec Synchronize access to MESSAGEQUEUE members. 2001-01-29 00:33:35 +00:00
Eric Pouech 982e0ce07f Added a few missing exports. 2001-01-28 23:44:56 +00:00
James Juran f4d5fefb0a Add <string.h> to files that needed it. 2001-01-26 20:43:40 +00:00
Andreas Mohr c9cf70d448 Some more cleanups. 2001-01-26 20:40:50 +00:00
Martin Pilka d1e3245b6b Fixed SW_RESTORE handling. 2001-01-26 20:37:48 +00:00
Dmitry Timoshkov 06e735d2ec Replace 16-bit calls in DefWindowProc by 32-bit, preferring unicode
API calls.
2001-01-26 00:19:33 +00:00
Patrik Stridvall 0c61028734 Documentation ordinal fixes. 2001-01-25 22:22:21 +00:00
Gerard Patel 2f47f3d0c0 Added a few messages and notifications. 2001-01-25 21:47:12 +00:00
Susan Farley 8cc20f8f7e Always restore the bit_gravity to BGForget after using BGNorthwest to
copy bits during SetWindowPos.
2001-01-25 21:46:26 +00:00
Andreas Mohr 4f565d6d6c Only set window text for WM_NCCREATE in DefWindowProc*() in case
lpszName is a string (i.e. check HIWORD).
2001-01-24 19:57:04 +00:00
Alexandre Julliard c1d35ccd9b Use DrawFrameControl() instead of OEM bitmaps to paint caption buttons
and menu check marks.
2001-01-24 19:47:57 +00:00
Guy L. Albertelli 09d42ff231 - Added NMCBEENDEDIT structure for NOTIFY dump.
- Added dump of positioning structure for WM_WINDOWPOSCHANG{ED|ING}.
2001-01-21 21:10:48 +00:00
Alexandre Julliard 990b480a1d Warning fix. 2001-01-20 02:51:49 +00:00
Alexandre Julliard 8bb7fb960c Fixed a number of incompatibilities in OEM icons/cursors handling. 2001-01-20 02:48:30 +00:00
Alexandre Julliard 16cbf4022c Store USER icons and cursors as resources instead of xpm bitmaps. 2001-01-18 20:32:01 +00:00
Josh DuBois 46fb7e0057 Make some noise in a few cases where the X11drv doesn't load, but used
to fail silently.
2001-01-17 21:51:07 +00:00
Alexandre Julliard ee21c443c6 Replaced X11DRV_CritSection references by wine_tsx11_(un)lock. 2001-01-15 22:31:24 +00:00
Alexandre Julliard 8efd454067 Removed CALL_LARGE_STACK support. 2001-01-15 22:30:50 +00:00
Alexandre Julliard d8e9a09d9b Removed unnecessary headers. 2001-01-15 20:22:30 +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
Alexandre Julliard 7d5bc5c3f9 Removed some direct accesses to the 16-bit task structure. 2001-01-15 20:09:09 +00:00
Ulrich Weigand e27670eac5 Fixed byteorder problems caused by non-portable code. 2001-01-11 00:52:50 +00:00
François Gouget 54300e592c Move HDWP to winuser.h.
Convert HWINSTA to STRICT.
2001-01-09 20:56:06 +00:00
Dmitry Timoshkov 7ba757d728 Add missing mapping for LB_FINDSTRINGEXACT message (thanks to Gerard
Patel for reporting the bug).
2001-01-07 21:44:50 +00:00
Alexandre Julliard 8081e5a1e5 Added handle_t type to server interface so that we can make handles
pointers later on.
Always use 0 to signal invalid handle in server requests.
2001-01-05 04:08:07 +00:00
François Gouget d6515df871 Convert HDESK to STRICT. 2001-01-03 21:39:33 +00:00
Ove Kaaven c90fb25c68 Turn on detectable autorepeat if the X Keyboard Extension is
detected.
2001-01-02 22:39:14 +00:00
François Gouget dea3d786e4 Moved HDROP to shellapi.h. 2001-01-02 21:00:46 +00:00
Dmitry Timoshkov 97d5abcd04 "Implement" GetKBCodePage and GetKBCodePage16. 2000-12-29 19:47:53 +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
Ove Kaaven 5079844bc6 Use the X state instead of the VK key state to check for eatable
characters, since the VK key state isn't a fan of AltGr.
2000-12-27 03:45:51 +00:00
Francois Gouget 345acc90fd Updated the look of dots and dashes to match the Win32 look.
Issue a FIXME about PS_USERSTYLE.
2000-12-24 20:16:25 +00:00
Guy L. Albertelli 09ce5e8013 Fixed loop test for negative value. 2000-12-24 19:51:02 +00:00
Gerard Patel 9289a5dff8 Cancel a few changes to get back basic text clipboard functionality. 2000-12-22 23:26:18 +00:00
Eric Pouech 4d24e0f5a6 Replaced calls to KERNEL.Yield16 by calls to KERNEL32.K32WOWYield from
outside libkernel.so.
2000-12-22 23:25:47 +00:00
Joerg Mayer 2563b1b732 Warn when FindWindow needs to check other processes windows. 2000-12-22 20:29:41 +00:00
Patrik Stridvall 2ece70e77b Various documentation fixes. 2000-12-22 01:38:01 +00:00
Alexandre Julliard e1f3803daa Removed the dummy mouse event in SetWindowPos. 2000-12-22 01:31:51 +00:00
Alexandre Julliard 5801723b50 Replaced WIN16_GlobalLock16 by "official" function K32WOWGlobalLock16. 2000-12-22 01:09:26 +00:00
Eric Pouech 247a94f688 Cleaned up the code a bit. 2000-12-21 20:21:53 +00:00
Guy L. Albertelli 65a4aa4e11 - print out WM_NOTIFY message code if we know it.
- print out memory past end of NMHDR structure for the size of
  the normal NMxxxxx structure associated with the message code.
- setup notify code table for common, REBAR, TOOLBAR, and COMBOEX (at
  least partially).
2000-12-20 18:38:15 +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
Gerard Patel cc3e0c5d90 WM_GETMINMAXINFO track min size should be used in SetWindowPos also
for 32 bits apps.
2000-12-18 03:10:42 +00:00
Alexandre Julliard ce1398e384 Avoid a couple of dependencies on input.c internal variables. 2000-12-16 20:37:16 +00:00
Gerard Patel ef456af6e5 Don't return last active popup if it is pointing to a deleted window. 2000-12-15 21:29:13 +00:00
Alexandre Julliard db0747d095 Removed some unnecessary includes.
Got rid of ldt.h.
2000-12-13 20:23:41 +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 f6168db690 Fixed some warnings. 2000-12-13 20:03:53 +00:00
Eric Pouech 66b4468bd4 Split driver functions into USER (16 bit part) and WINMM (32 bit part).
Fixed some bugs in 16 bit part as well.
Now correctly parsing the system.ini extra parameters.
2000-12-13 02:07:40 +00:00
Alexandre Julliard a67369ea00 Changed LoadImage16 to take an LPCSTR instead of a SEGPTR. 2000-12-12 00:48:06 +00:00
Alexandre Julliard becb9a353b Moved all Wine internal definitions out of process.h. 2000-12-11 03:48:15 +00:00
Dmitry Timoshkov 1df0d36592 Add CF_UNICODETEXT as primary text clipboard format.
Use [x11drv].TextCP for interchange with X.
2000-12-11 01:09:56 +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
Andreas Mohr 1af53cbb2a - README update
- add offsets to ASPI struct defines
- spelling
2000-12-09 03:15:32 +00:00
Hidenori Takeshima d34426903b Added handlers for some IME messages in DefWindowProc. 2000-12-07 23:55:11 +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
Alexandre Julliard b83a16c148 Removed calls to WIDGETS_IsControl. 2000-12-07 23:24:41 +00:00
Ove Kaaven af6b76e1a6 Use SendNotifyMessage() for WM_SYNCPAINT. 2000-12-06 19:45:22 +00:00
Dmitry Timoshkov 411e455624 Removed the code duplication. 2000-12-05 04:08:50 +00:00
Rein Klazes 0b0ccb83e1 Don't forget to map the message in WINPROC_MapMsg16To32W(). 2000-12-05 04:01:34 +00:00
Ken Coleman 2743c81e77 Added a first-cut version of MapVirtualKeyExW() that has the same
functionality (and limitations) as the ANSI version.
2000-12-05 03:56:56 +00:00
Alexandre Julliard 9e1fda187a Fixed WINPROC_GetPtr() to always pass the start of the block to
HeapValidate().
2000-12-03 03:19:45 +00:00
Dmitry Timoshkov 1e15223fb4 Added several additional to/from unicode message mappings. 2000-12-02 23:42:13 +00:00
Dimitrie O. Paun 26503fc224 Include config.h. 2000-12-02 20:11:42 +00:00
Louis Philippe Gagnon 13317c070f - Take the mouse capture on a WM_NCRBUTTONDOWN on the caption bar,
release it on a WM_RBUTTONUP
- Don't send WM_CONTEXTMENU on a WM_NCRBUTTONUP
- Use parent-relative coordinates when calling NC_HandleNCHitTest
2000-12-02 00:00:51 +00:00
Patrik Stridvall 2b3aa616e8 Added/modified documentation for function arguments. 2000-12-01 23:58:28 +00:00
Alexandre Julliard ef57e18f99 Removed some unnecessary includes. 2000-12-01 21:32:55 +00:00
Marcus Meissner 4eb44e13bc Added the KDE 2 beta and final method of specifying systray windows. 2000-12-01 20:43:26 +00:00
Alexandre Julliard 4e2f4a9cc9 Check for NULL handle before calling HeapValidate. 2000-11-30 20:36:41 +00:00
Alexandre Julliard 4cecd4ae7d Always initialize msg16 and wparam16 in WINPROC_MapMsg32WTo16. 2000-11-30 01:16:35 +00:00
Alexandre Julliard e296bf3717 Renamed CallTo16* functions to wine_call_to_16* and export them from
kernel32.spec.
2000-11-29 19:39:30 +00:00
Andreas Mohr 94a6832b04 WM_SETTEXT should return TRUE on success. 2000-11-29 00:02:46 +00:00
Aric Stewart b7b4fd03df We were returning characters for various CTRL + Symbol keystrokes
which should not return characters.
2000-11-28 23:57:38 +00:00
Dmitry Timoshkov 5956b986d9 Slightly rearrange WIN16/WIN32A/WIN32 window creation. 2000-11-28 23:53:08 +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
Dimitrie O. Paun 529da54394 Require {DECLARE,DEFAULT}_DEBUG_CHANNEL statements to end in a ; 2000-11-27 23:54:25 +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
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
Dimitrie O. Paun 5298812be1 Make sure all files using config.h constants actually #include "config.h" 2000-11-26 04:04:21 +00:00
Ove Kaaven bea05609a7 Check whether senderQ is NULL before trying to lock it. 2000-11-25 21:39:36 +00:00
Patrik Stridvall 024d6c50d6 Fixed some issues found by winapi_check. 2000-11-25 03:09:30 +00:00
Dmitry Timoshkov c8ac4a2705 Fixed ToUnicode TRACE message. 2000-11-25 02:12:49 +00:00
Dmitry Timoshkov 780bb79612 Add support for national characters as accelerators in dialogs. 2000-11-25 02:10:04 +00:00
Dmitry Timoshkov 2fa0c66c1e Always generate unicode CHAR messages. 2000-11-25 02:09:45 +00:00
Andreas Mohr a59324db91 Cosmetics. 2000-11-25 01:40:10 +00:00
Ulrich Czekalla 58445c9abf Allow for zero-length string selections. 2000-11-25 01:26:02 +00:00
Ove Kaaven 9811129dfd Implemented SendNotifyMessage(). 2000-11-25 01:23:50 +00:00
Alexandre Julliard ab687979fd Moved standard syslevel APIs declaration to winbase.h.
Use exported syslevel function wherever possible.
Moved SEGPTR declaration to windef16.h.
2000-11-15 23:41:46 +00:00
Dmitry Timoshkov 3606dc5584 Added mapping to/from unicode for WM_CHAR, WM_DEADCHAR, WM_SYSCHAR,
WM_SYSDEADCHAR messages.
2000-11-15 23:13:17 +00:00
Francois Gouget 58f8f12760 SM_ARRANGE is ARW_HIDE, i.e. 8 2000-11-15 22:12:35 +00:00
Alexandre Julliard 745ec84c8b Export the CallFrom16xxx functions from kernel32. Renamed them
__wine_call_from_16 to follow the naming convention.
2000-11-13 04:54:45 +00:00
Nerijus Baliunas c4b8b266a9 Add new encodings ISO 8859-10 (cp28600), 8859-13 (cp28603), 8859-14 (cp28604),
8859-15 (cp28605). Add Lithuanian (Baltic) keyboard layout.
2000-11-11 00:34:32 +00:00
Aric Stewart 7ab639862b ToUnicode: ignore CTRL+number keystrokes. 2000-11-08 04:29:42 +00:00
Dmitry Timoshkov 740bb92b5a Added the ability to see names of the virtual key codes. 2000-11-05 20:07:59 +00:00
Francois Gouget 56b17436a1 Added comment explaining why we have an ERR rather than a WARN. 2000-11-05 03:20:02 +00:00
James Abbatiello 0ed182fffa Cleanup SystemParametersInfo<16|A|W>. 2000-11-05 03:18:47 +00:00
James Abbatiello 077e66c27c Fix test for pending message in QUEUE_ReceiveMessage(). 2000-11-05 03:17:41 +00:00
Alexandre Julliard 2239abb9f9 Allocate DC objects on the process heap, and removed WIN_DC_INFO
structure (based on a patch by Ken Coleman).
2000-11-05 02:05:07 +00:00
Alexandre Julliard 1f029ea6f5 Authors: Gerard Patel <g.patel@wanadoo.fr>, Marcus Meissner <marcus@jet.franken.de>
Move focus recalculation out of the window destroy recursion
so we do not send WM_SETFOCUS to already destroyed windows.
2000-11-02 20:08:59 +00:00
Marcus Meissner 9199f4a492 DrawIconEx: when flags=0 use flags=DI_NORMAL instead. 2000-11-01 21:36:35 +00:00
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
Gabriel Garcia a9774bead3 Added Latin American layout. 2000-11-01 01:47:39 +00:00
Francois Gouget edf1fd7158 Fixed the value of some system colors. 2000-10-31 01:35:30 +00:00
Peter Ivanyi 1da3befe54 Added/upgraded Slovak messages, and Slovak and Czech keyboard layout. 2000-10-31 01:19:11 +00:00
Dmitry Timoshkov 75b25be6ee Display an ERR on errors while initializing USER. 2000-10-31 01:01:41 +00:00
David Elliott 44f84b55f3 Added basic working stubs of new Windows 2000 API functions. 2000-10-29 01:24:54 +00:00
Alexandre Julliard 4c18636d4e Use GetStockObject() instead of the magic STOCK_* handles. 2000-10-29 01:22:15 +00:00
Marcus Meissner 6f9c840ca0 Report errors on WinHelp() failures. 2000-10-29 01:17:24 +00:00
Alexandre Julliard 07d0c31c6c Removed unused STRUCT32_NCCALCSIZE functions. 2000-10-26 21:50:59 +00:00
Dmitry Timoshkov ef55932f4b Ask application to reinitialize its menu before processing an
accelerator key.
2000-10-26 21:47:20 +00:00
Dmitry Timoshkov b5f8b9227c Added an another special case handling for Shift+[NumPad]DEL. 2000-10-25 21:58:48 +00:00
Dmitry Timoshkov 8a31634a00 Replaced ToAscii by ToUnicode in the User driver interface. 2000-10-25 21:34:31 +00:00
Rein Klazes 354f9826b8 In SWP_DoNCCalcSize() when determining whether the client area has
moved, use the client coordinates as they are: not relative to its
window coordinates.
2000-10-25 20:29:06 +00:00
Andreas Mohr 2bf380c72f Added SPI_GETWINDOWSEXTENSION. 2000-10-25 20:28:42 +00:00
Louis Philippe Gagnon e4ab07e0fe - Calculate changes in the client area relative to the window
instead of its parent when using SWP_EX_PAINTSELF.
- With SWP_EX_PAINTSELF, copy only if client area changed, since a
  window can't move relative to itself.
- In SWP_DoNCCalcSize, when determining if the client area
  changed, use values relative to the window itself, not its parent.
2000-10-23 00:36:06 +00:00
Ulrich Weigand 409eb44eb0 Fixed painting problems in non-MM_TEXT modes. 2000-10-23 00:35:28 +00:00
Joerg Mayer 959d73e8dd Reduce the number of warnings about missing initializers. 2000-10-22 23:56:32 +00:00
Guy L. Albertelli 936c6c4ea4 Added wParam and lParam as parameters in SPY_ExitMessage
Added dump for the STYLECHANG[ING|ED] messages.
Dump structures on exit only if message allows changes.
2000-10-22 23:52:47 +00:00
Dmitry Timoshkov ff81f93883 Added support for AZERTY keyboard layout. 2000-10-19 22:25:35 +00:00
Ulrich Weigand 1848c808d3 Watch out for DefMDIChildProc calls on non-MDI-child windows. 2000-10-19 20:24:06 +00:00
Dmitry Timoshkov 7b0bf0f08d Added support for keyboard input in various locales. 2000-10-17 00:31:53 +00:00
Dmitry Timoshkov 63ba91dc8e Fixed behaviour of window's system buttons. 2000-10-15 00:22:29 +00:00
Susan Farley 557066db1c Status bars on managed windows should not have SIZEGRIP style. 2000-10-13 17:07:08 +00:00
Francois Gouget 67c9691313 Added many missing *Pxxx types.
Removed a few *LPxxx types that are not supposed to be there (in
particular LPICONINFO).
Added a few missing *LPCxxx types (MENUITEMINFO, SCROLLINFO,
DLGITEMTEMPLATE).
WINHELP and PE_ACCEL are internal types.
MULTIKEYHELP and HELPWININFO both have an A and W variant.
NUMBERFMT, CURRENCYFMT and the related API belong to winnls.h.
Added missing ARW_xxx defines (for sysmetrics).
2000-10-12 23:18:55 +00:00
Stephane Lussier 6bac4f2c15 Before calling the timer window proc, make sure it is valid. 2000-09-29 00:56:05 +00:00
Alexandre Julliard 15bfcd0398 Moved $(MODULE).o rule out of Make.rules into the individual
Makefiles.
2000-09-29 00:28:25 +00:00
Dmitry Timoshkov 8e2643687d If window was not resized and not moved, repaint only itself excluding
parent.
2000-09-27 22:26:51 +00:00
Stephane Lussier d741850dd8 On reception of a FocusOut event, don't deactivate the application if the
next window to get the focus is a Wine window.
2000-09-27 00:22:00 +00:00
Alexandre Julliard 83f52d11c1 Moved all Win16 definitions out of the standard Windows headers. 2000-09-26 22:20:14 +00:00
Alexandre Julliard 60e175294b Use documented DROPFILES structure instead of internal DROPFILESTRUCT. 2000-09-25 23:56:41 +00:00
Alexandre Julliard d8fab2e67c Removed some of the XXX_reg macros now that we are using the standard
CONTEXT86 structure everywhere.
2000-09-25 23:53:07 +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
Alexandre Julliard 0ff083bab8 Call WH_GETMESSAGE hook in PeekMessage too (based on a patch by Rob
Farnum).
2000-09-24 19:51:15 +00:00