mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
Added untested and mostly borked edit control ported from WINE.
svn path=/trunk/; revision=5069
This commit is contained in:
parent
59d5c9f016
commit
8d6bf48e41
3 changed files with 4571 additions and 3 deletions
|
@ -6,10 +6,17 @@
|
|||
#ifndef MAKEINTATOMA
|
||||
#define MAKEINTATOMA(atom) ((LPCSTR)((ULONG_PTR)((WORD)(atom))))
|
||||
#endif
|
||||
|
||||
#ifndef WM_ISACTIVEICON
|
||||
#define WM_ISACTIVEICON 0x0035
|
||||
#endif
|
||||
#if defined(STRICT)
|
||||
typedef INT (CALLBACK *EDITWORDBREAKPROCA)(LPSTR,INT,INT,INT);
|
||||
typedef INT (CALLBACK *EDITWORDBREAKPROCW)(LPWSTR,INT,INT,INT);
|
||||
#else
|
||||
typedef FARPROC EDITWORDBREAKPROCA;
|
||||
typedef FARPROC EDITWORDBREAKPROCW;
|
||||
#endif
|
||||
|
||||
/* winuser.h */
|
||||
|
||||
|
||||
|
|
4561
reactos/lib/user32/controls/edit.c
Normal file
4561
reactos/lib/user32/controls/edit.c
Normal file
File diff suppressed because it is too large
Load diff
|
@ -1,4 +1,4 @@
|
|||
/* $Id: regcontrol.c,v 1.4 2003/06/25 23:59:02 sedwards Exp $
|
||||
/* $Id: regcontrol.c,v 1.5 2003/07/11 04:22:00 sedwards Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS User32
|
||||
|
@ -41,12 +41,12 @@ void ControlsInit(void)
|
|||
RegisterBuiltinClass(&COMBO_builtin_class);
|
||||
RegisterBuiltinClass(&COMBOLBOX_builtin_class);
|
||||
RegisterBuiltinClass(&DESKTOP_builtin_class);
|
||||
RegisterBuiltinClass(&EDIT_builtin_class);
|
||||
RegisterBuiltinClass(&LISTBOX_builtin_class);
|
||||
RegisterBuiltinClass(&MDICLIENT_builtin_class);
|
||||
RegisterBuiltinClass(&MENU_builtin_class);
|
||||
RegisterBuiltinClass(&SCROLL_builtin_class);
|
||||
#endif
|
||||
// RegisterBuiltinClass(&EDIT_builtin_class);
|
||||
RegisterBuiltinClass(&COMBO_builtin_class);
|
||||
RegisterBuiltinClass(&BUTTON_builtin_class);
|
||||
RegisterBuiltinClass(&ICONTITLE_builtin_class);
|
||||
|
|
Loading…
Reference in a new issue