Changeset 380 for trunk/include/win


Ignore:
Timestamp:
Jul 24, 1999, 2:37:53 PM (26 years ago)
Author:
sandervl
Message:

* empty log message *

Location:
trunk/include/win
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/win/combo.h

    r4 r380  
    1 /* $Id: combo.h,v 1.1 1999-05-24 20:19:09 ktk Exp $ */
     1/* $Id: combo.h,v 1.2 1999-07-24 12:37:53 sandervl Exp $ */
    22
    33/*
     
    77#ifndef __WINE_COMBO_H
    88#define __WINE_COMBO_H
     9
     10#define LISTBOXCLASSNAME  "LISTBOX"
     11#define COMBOLBOXCLASSNAME "COMBOLBOX"
     12#define COMBOBOXCLASSNAME "COMBOBOX"
    913
    1014#define ID_CB_LISTBOX           1000
     
    1620#define CBF_BUTTONDOWN          0x0002
    1721#define CBF_NOROLLUP            0x0004
    18 #define CBF_MEASUREITEM         0x0008
     22#define CBF_MEASUREITEM         0x0008
    1923#define CBF_FOCUSED             0x0010
    2024#define CBF_CAPTURE             0x0020
    2125#define CBF_EDIT                0x0040
    22 #define CBF_NORESIZE            0x0080
    23 #define CBF_NOTIFY              0x0100
     26#define CBF_NORESIZE            0x0080
     27#define CBF_NOTIFY              0x0100
    2428#define CBF_NOREDRAW            0x0200
    25 #define CBF_SELCHANGE           0x0400
     29#define CBF_SELCHANGE           0x0400
     30#define CBF_NOEDITNOTIFY        0x1000
    2631#define CBF_EUI                 0x8000
    2732
     
    3035typedef struct
    3136{
    32    WND*         self;
    33    HWND         owner;
    34    UINT         dwStyle;
    35    HWND         hWndEdit;
    36    HWND         hWndLBox;
    37    UINT         wState;
    38    HFONT        hFont;
     37   HWND         hwndself;
     38   HWND         owner;
     39   UINT         dwStyle;
     40   HWND         hWndEdit;
     41   HWND         hWndLBox;
     42   UINT         wState;
     43   HFONT        hFont;
    3944   RECT         textRect;
    4045   RECT         buttonRect;
    4146   RECT         droppedRect;
     47   INT          droppedIndex;
    4248   INT          fixedOwnerDrawHeight;
    43    INT          droppedWidth;           /* last two are not used unless set */
    44    INT          editHeight;             /* explicitly */
     49   INT          droppedWidth;           /* last two are not used unless set */
     50   INT          editHeight;             /* explicitly */
    4551} HEADCOMBO,*LPHEADCOMBO;
    4652
     
    5056
    5157#define CB_GETTYPE( lphc )    ((lphc)->dwStyle & (CBS_DROPDOWNLIST))
    52 #define CB_DISABLED( lphc )   ((lphc)->self->dwStyle & WS_DISABLED)
     58#define CB_DISABLED( lphc )   (GetWindowLongA((lphc)->hwndself,GWL_STYLE) & WS_DISABLED)
    5359#define CB_OWNERDRAWN( lphc ) ((lphc)->dwStyle & (CBS_OWNERDRAWFIXED | CBS_OWNERDRAWVARIABLE))
    5460#define CB_HASSTRINGS( lphc ) ((lphc)->dwStyle & CBS_HASSTRINGS)
    55 #define CB_HWND( lphc )       ((lphc)->self->hwndSelf)
     61#define CB_HWND( lphc )       ((lphc)->hwndself)
    5662
    57 BOOL    COMBO_FlipListbox( LPHEADCOMBO, BOOL );
    58 HWND    COMBO_GetLBWindow( WND* );
     63BOOL    COMBO_FlipListbox( LPHEADCOMBO, BOOL );
     64HWND    COMBO_GetLBWindow( HWND );
    5965LRESULT COMBO_Directory( LPHEADCOMBO, UINT, LPSTR, BOOL );
     66
     67BOOL LISTBOX_Register();
     68BOOL LISTBOX_Unregister();
     69BOOL COMBOLBOX_Register();
     70BOOL COMBOLBOX_Unregister();
     71
     72BOOL COMBOBOX_Register();
     73BOOL COMBOBOX_Unregister();
    6074
    6175#endif /* __WINE_COMBO_H */
  • trunk/include/win/controls.h

    r375 r380  
     1/* $Id */
    12/*
    23 * Win32 common controls
Note: See TracChangeset for help on using the changeset viewer.