Changeset 387 for trunk/src


Ignore:
Timestamp:
Jul 24, 1999, 7:10:26 PM (26 years ago)
Author:
cbratschi
Message:

edit control

Location:
trunk/src/user32/new
Files:
1 added
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/new/button.cpp

    r384 r387  
    1 /* $Id: button.cpp,v 1.8 1999-07-24 12:40:20 cbratschi Exp $ */
     1/* $Id: button.cpp,v 1.9 1999-07-24 17:10:24 cbratschi Exp $ */
    22/* File: button.c -- Button type widgets
    33 *
     
    915915    wndClass.cbWndExtra    = sizeof(BUTTONINFO);
    916916    wndClass.hCursor       = LoadCursorA(0,IDC_ARROWA);
    917     wndClass.hbrBackground = (HBRUSH)(COLOR_3DFACE+1);
     917    wndClass.hbrBackground = (HBRUSH)0;
    918918    wndClass.lpszClassName = BUTTONCLASSNAME;
    919919
  • trunk/src/user32/new/combo.cpp

    r384 r387  
    1 /* $Id */
     1/* $Id: combo.cpp,v 1.2 1999-07-24 17:10:24 cbratschi Exp $ */
    22/*
    33 * Combo controls
     
    19631963
    19641964    ZeroMemory(&wndClass,sizeof(WNDCLASSA));
    1965     wndClass.style         = CS_GLOBALCLASS | CS_HREDRAW | CS_VREDRAW | CS_PARENTDC;
     1965    wndClass.style         = CS_GLOBALCLASS | CS_PARENTDC;
    19661966    wndClass.lpfnWndProc   = (WNDPROC)ComboWndProc;
    19671967    wndClass.cbClsExtra    = 0;
    19681968    wndClass.cbWndExtra    = sizeof(VOID*);
    19691969    wndClass.hCursor       = LoadCursorA(0,IDC_ARROWA);
    1970     wndClass.hbrBackground = (HBRUSH)(COLOR_3DFACE+1);
     1970    wndClass.hbrBackground = (HBRUSH)0;
    19711971    wndClass.lpszClassName = COMBOBOXCLASSNAME;
    19721972
  • trunk/src/user32/new/controls.cpp

    r384 r387  
    1 /* $Id: controls.cpp,v 1.7 1999-07-24 12:40:20 cbratschi Exp $ */
     1/* $Id: controls.cpp,v 1.8 1999-07-24 17:10:24 cbratschi Exp $ */
    22/* File: controls.cpp -- Win32 common controls
    33 *
     
    1414#include "static.h"
    1515#include "scroll.h"
    16 #include "combo.H" //listbox included
     16#include "combo.H" //listbox,combo,edit
    1717
    1818/* registration */
     
    3737  dprintf(("Register COMBOBOX class"));
    3838  if (!COMBOBOX_Register()) dprintf(("failed!!!"));
     39
     40  dprintf(("Register EDIT class"));
     41  if (!EDIT_Register()) dprintf(("failed!!!"));
    3942}
    4043
     
    5861  dprintf(("Unregister COMBOBOX class"));
    5962  if (!COMBOBOX_Unregister()) dprintf(("failed!!!"));
     63
     64  dprintf(("Unregister EDIT class"));
     65  if (!EDIT_Unregister()) dprintf(("failed!!!"));
    6066}
    6167
  • trunk/src/user32/new/listbox.cpp

    r384 r387  
    1 /* $Id */
     1/* $Id: listbox.cpp,v 1.2 1999-07-24 17:10:25 cbratschi Exp $ */
    22/*
    33 * Listbox controls
     
    26182618
    26192619    ZeroMemory(&wndClass,sizeof(WNDCLASSA));
    2620     wndClass.style         = CS_GLOBALCLASS | CS_HREDRAW | CS_VREDRAW | CS_DBLCLKS;
     2620    wndClass.style         = CS_GLOBALCLASS | CS_DBLCLKS;
    26212621    wndClass.lpfnWndProc   = (WNDPROC)ListBoxWndProc;
    26222622    wndClass.cbClsExtra    = 0;
    26232623    wndClass.cbWndExtra    = sizeof(VOID*);
    26242624    wndClass.hCursor       = LoadCursorA(0,IDC_ARROWA);
    2625     wndClass.hbrBackground = (HBRUSH)(COLOR_3DFACE+1);
     2625    wndClass.hbrBackground = (HBRUSH)0;
    26262626    wndClass.lpszClassName = LISTBOXCLASSNAME;
    26272627
     
    26442644
    26452645    ZeroMemory(&wndClass,sizeof(WNDCLASSA));
    2646     wndClass.style         = CS_GLOBALCLASS | CS_HREDRAW | CS_VREDRAW | CS_DBLCLKS;
     2646    wndClass.style         = CS_GLOBALCLASS | CS_DBLCLKS | CS_SAVEBITS;
    26472647    wndClass.lpfnWndProc   = (WNDPROC)ComboLBWndProc;
    26482648    wndClass.cbClsExtra    = 0;
    26492649    wndClass.cbWndExtra    = sizeof(VOID*);
    26502650    wndClass.hCursor       = LoadCursorA(0,IDC_ARROWA);
    2651     wndClass.hbrBackground = (HBRUSH)(COLOR_3DFACE+1);
     2651    wndClass.hbrBackground = (HBRUSH)0;
    26522652    wndClass.lpszClassName = COMBOLBOXCLASSNAME;
    26532653
  • trunk/src/user32/new/makefile

    r385 r387  
    1 # $Id: makefile,v 1.18 1999-07-24 14:01:44 sandervl Exp $
     1# $Id: makefile,v 1.19 1999-07-24 17:10:25 cbratschi Exp $
    22
    33#
     
    2929        msgbox.obj window.obj windowmsg.obj windowclass.obj windlgmsg.obj \
    3030        windowword.obj gen_object.obj oslibwin.obj win32wndchild.obj \
    31         controls.obj button.obj static.obj scroll.obj listbox.obj combo.obj \
     31        controls.obj button.obj static.obj scroll.obj listbox.obj \
     32        combo.obj edit.obj \
    3233        oslibutil.obj oslibmsg.obj windlg.obj \
    3334        winprop.obj wingdi.obj oslibgdi.obj winaccel.obj winscrollbar.obj \
     
    7980listbox.obj: listbox.cpp $(PDWIN32_INCLUDE)\win\combo.h
    8081combo.obj: combo.cpp $(PDWIN32_INCLUDE)\win\combo.h
     82edit.obj: edit.cpp $(PDWIN32_INCLUDE)\win\combo.h
    8183
    8284nativerc.obj: nativerc.cpp
  • trunk/src/user32/new/scroll.cpp

    r373 r387  
    1 /* $Id: scroll.cpp,v 1.3 1999-07-23 16:46:29 cbratschi Exp $ */
     1/* $Id: scroll.cpp,v 1.4 1999-07-24 17:10:25 cbratschi Exp $ */
    22/*
    33 * Scrollbar control
     
    15031503    wndClass.cbWndExtra    = sizeof(SCROLLBAR_INFO);
    15041504    wndClass.hCursor       = LoadCursorA(0,IDC_ARROWA);
    1505     wndClass.hbrBackground = (HBRUSH)(COLOR_3DFACE+1);
     1505    wndClass.hbrBackground = (HBRUSH)0;
    15061506    wndClass.lpszClassName = SCROLLBARCLASSNAME;
    15071507
  • trunk/src/user32/new/static.cpp

    r373 r387  
    1 /* $Id: static.cpp,v 1.3 1999-07-23 16:46:29 cbratschi Exp $ */
     1/* $Id: static.cpp,v 1.4 1999-07-24 17:10:26 cbratschi Exp $ */
    22/*
    33 * Static control
     
    589589
    590590    ZeroMemory(&wndClass,sizeof(WNDCLASSA));
    591     wndClass.style         = CS_GLOBALCLASS | CS_HREDRAW | CS_VREDRAW | CS_PARENTDC;
     591    wndClass.style         = CS_GLOBALCLASS | CS_HREDRAW | CS_PARENTDC;
    592592    wndClass.lpfnWndProc   = (WNDPROC)StaticWndProc;
    593593    wndClass.cbClsExtra    = 0;
    594594    wndClass.cbWndExtra    = sizeof(STATICINFO);
    595595    wndClass.hCursor       = LoadCursorA (0,IDC_ARROWA);
    596     wndClass.hbrBackground = (HBRUSH)(COLOR_3DFACE+1);
     596    wndClass.hbrBackground = (HBRUSH)0;
    597597    wndClass.lpszClassName = STATICCLASSNAME;
    598598
Note: See TracChangeset for help on using the changeset viewer.