Changeset 2835 for trunk/include


Ignore:
Timestamp:
Feb 20, 2000, 7:29:58 PM (26 years ago)
Author:
cbratschi
Message:

* empty log message *

Location:
trunk/include/win
Files:
3 edited

Legend:

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

    r2805 r2835  
    1 /* $Id: commctrl.h,v 1.21 2000-02-16 17:20:28 cbratschi Exp $ */
     1/* $Id: commctrl.h,v 1.22 2000-02-20 18:26:07 cbratschi Exp $ */
    22/*
    33 * Common controls definitions
     
    120120
    121121#define I_IMAGECALLBACK          (-1)
     122#define I_IMAGENONE              (-2)
    122123#define I_INDENTCALLBACK         (-1)
    123124#define I_CHILDRENCALLBACK       (-1)
     
    339340#define UDM_SETRANGE32     (WM_USER+111)
    340341#define UDM_GETRANGE32     (WM_USER+112)
     342#define UDM_SETPOS32       (WM_USER+113)
     343#define UDM_GETPOS32       (WM_USER+114)
    341344
    342345HWND WINAPI CreateUpDownControl (DWORD, INT, INT, INT, INT,
     
    880883#define TBSTATE_MARKED          0x80
    881884
    882 #define TBSTYLE_BUTTON          0x00
    883 #define TBSTYLE_SEP             0x01
    884 #define TBSTYLE_CHECK           0x02
    885 #define TBSTYLE_GROUP           0x04
     885#define TBSTYLE_BUTTON          0x00 //obsolete
     886#define TBSTYLE_SEP             0x01 //obsolete
     887#define TBSTYLE_CHECK           0x02 //obsolete
     888#define TBSTYLE_GROUP           0x04 //obsolete
    886889#define TBSTYLE_CHECKGROUP      (TBSTYLE_GROUP | TBSTYLE_CHECK)
    887 #define TBSTYLE_DROPDOWN        0x08
    888 
     890#define TBSTYLE_DROPDOWN        0x08 //obsolete
     891#define TBSTYLE_AUTOSIZE        0x0010 //obsolete
     892#define TBSTYLE_NOPREFIX        0x0020 //obsolete
    889893#define TBSTYLE_TOOLTIPS        0x0100
    890894#define TBSTYLE_WRAPABLE        0x0200
     
    893897#define TBSTYLE_LIST            0x1000
    894898#define TBSTYLE_CUSTOMERASE     0x2000
     899#define TBSTYLE_REGISTERDROP    0x4000
     900#define TBSTYLE_TRANSPARENT     0x8000
     901#define TBSTYLE_EX_DRAWDDARROWS       0x00000001
     902#define TBSTYLE_EX_MIXEDBUTTONS       0x00000008
     903#define TBSTYLE_EX_HIDECLIPPEDBUTTONS 0x00000010
     904
     905#define BTNS_BUTTON     TBSTYLE_BUTTON      // 0x0000
     906#define BTNS_SEP        TBSTYLE_SEP         // 0x0001
     907#define BTNS_CHECK      TBSTYLE_CHECK       // 0x0002
     908#define BTNS_GROUP      TBSTYLE_GROUP       // 0x0004
     909#define BTNS_CHECKGROUP TBSTYLE_CHECKGROUP  // (TBSTYLE_GROUP | TBSTYLE_CHECK)
     910#define BTNS_DROPDOWN   TBSTYLE_DROPDOWN    // 0x0008
     911#define BTNS_AUTOSIZE   TBSTYLE_AUTOSIZE    // 0x0010
     912#define BTNS_NOPREFIX   TBSTYLE_NOPREFIX    // 0x0020
     913#define BTNS_SHOWTEXT   0x0040
     914#define BTNS_WHOLEDROPDOWN  0x0080
    895915
    896916#define TBIF_IMAGE              0x00000001
     
    12401260#define TTS_ALWAYSTIP           0x01
    12411261#define TTS_NOPREFIX            0x02
     1262#define TTS_NOANIMATE           0x10
     1263#define TTS_NOFADE              0x20
     1264#define TTS_BALLOON             0x40
    12421265
    12431266#define TTF_IDISHWND            0x0001
     
    14431466#define RBBS_GRIPPERALWAYS      0x00000080
    14441467#define RBBS_NOGRIPPER          0x00000100
     1468#define RBBS_USECHEVRON         0x00000200
     1469#define RBBS_HIDETITLE          0x00000400
    14451470
    14461471#define RBNM_ID                 0x00000001
     
    14911516#define RB_GETPALETTE           (WM_USER+38)
    14921517#define RB_MOVEBAND             (WM_USER+39)
     1518#define RB_PUSHCHEVRON          (WM_USER + 43)
    14931519#define RB_GETDROPTARGET        CCM_GETDROPTARGET
    14941520#define RB_SETCOLORSCHEME       CCM_SETCOLORSCHEME
     
    19441970#define TVC_BYKEYBOARD        0x02
    19451971
     1972#define TVNRET_DEFAULT          0
     1973#define TVNRET_SKIPOLD          1
     1974#define TVNRET_SKIPNEW          2
    19461975
    19471976typedef struct _TREEITEM *HTREEITEM;
     
    25272556#define LVN_FIRST               (0U-100U)
    25282557#define LVN_LAST                (0U-199U)
     2558
     2559// Property sheet reserved      (0U-200U) -  (0U-299U) - see prsht.h
     2560
    25292561#define LVN_ITEMCHANGING        (LVN_FIRST-0)
    25302562#define LVN_ITEMCHANGED         (LVN_FIRST-1)
  • trunk/include/win/treeview.h

    r2820 r2835  
    1 /* $Id: treeview.h,v 1.11 2000-02-18 17:12:43 cbratschi Exp $ */
     1/* $Id: treeview.h,v 1.12 2000-02-20 18:26:07 cbratschi Exp $ */
    22/*
    33 * Treeview class extra info
     
    1212
    1313#define MINIMUM_INDENT        10
     14#define ITEM_VSPACE            2
    1415#define TV_REFRESH_DELAY     100     /* 100 ms delay between two refreshes */
    1516#define TV_DEFAULTITEMHEIGHT  16
     
    5960  UINT          uScrollTime;    /* max. time for scrolling in milliseconds*/
    6061  UINT          uItemHeight;    /* item height, -1 for default item height */
    61   UINT          uRealItemHeight;/* current item height in pixels */
     62  UINT          uRealItemHeight;// current item height in pixels
     63  UINT          uVScrollStep;   // scroll step in pixels
    6264  UINT          uVisibleHeight; /* visible height of treeview in pixels */
    6365  UINT          uTotalHeight;   /* total height of treeview in pixels */
     
    6769  HTREEITEM     selectedItem;   /* handle to selected item or 0 if none */
    6870  HTREEITEM     hotItem;        /* handle currently under cursor, 0 if none */
     71  HTREEITEM     tipItem;        // item with tooltip
    6972  HTREEITEM     editItem;       /* handle to item currently editted, 0 if none */
    7073  HTREEITEM     firstVisible;   /* handle to first visible item */
     
    7376  BOOL          insertBeforeorAfter; /* flag used by TVM_SETINSERTMARK */
    7477  HIMAGELIST    dragList;       /* Bitmap of dragged item */
    75   INT           cx,cy;          /* current x/y place in list */
     78  POINT         lefttop;        //in pixels
    7679  COLORREF      clrBk;
    7780  COLORREF      clrText;
  • trunk/include/win/winuser.h

    r2779 r2835  
    1 /* $Id: winuser.h,v 1.34 2000-02-14 17:27:55 cbratschi Exp $ */
     1/* $Id: winuser.h,v 1.35 2000-02-20 18:26:08 cbratschi Exp $ */
    22
    33#ifndef __INCLUDE_WINUSER_H
     
    343343#define OBM_SIZE            32766
    344344#define OBM_OLD_CLOSE       32767
     345
     346//CB: Odin bitmaps -> unknown ID
     347#define OBM_HELP            32730 //help button
     348#define OBM_HELPD           32729 //pressed help button
    345349
    346350#define OCR_BUMMER          100
Note: See TracChangeset for help on using the changeset viewer.