Ignore:
Timestamp:
Jul 18, 2000, 8:30:47 PM (25 years ago)
Author:
sandervl
Message:

YD: header updates

File:
1 edited

Legend:

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

    r3354 r3850  
    1 /* $Id: windowsx.h,v 1.9 2000-04-09 11:09:11 sandervl Exp $ */
     1/* $Id: windowsx.h,v 1.10 2000-07-18 18:30:42 sandervl Exp $ */
    22
    33/* Copyright (C) 1999 Corel Corporation (Paul Quinn) */
     
    998998#define ListBox_SetItemData(hwndCtl, index, data)   ((int)(DWORD)SendMessage((hwndCtl), LB_SETITEMDATA, (WPARAM)(int)(index), (LPARAM)(data)))
    999999
     1000#define ListBox_SetSel(hwndCtl, fSelect, index)     ((int)(DWORD)SendMessage((hwndCtl), LB_SETSEL, (WPARAM)(BOOL)(fSelect), (LPARAM)(index)))
     1001#define ListBox_SelItemRange(hwndCtl, fSelect, first, last)    ((int)(DWORD)SendMessage((hwndCtl), LB_SELITEMRANGE, (WPARAM)(BOOL)(fSelect), MAKELPARAM((first), (last))))
     1002
    10001003#define ListBox_GetCurSel(hwndCtl)        \
    10011004        ((int)(DWORD)SendMessage((hwndCtl), LB_GETCURSEL, 0L, 0L))
     
    10171020#define ListBox_FindStringExact(hwndCtl, indexStart, lpszFind) \
    10181021        ((int)(DWORD)SendMessage((hwndCtl), LB_FINDSTRINGEXACT, (WPARAM)(int)(indexStart), (LPARAM)(LPCTSTR)(lpszFind)))
     1022
     1023#define ListBox_GetSel(hwndCtl, index)              ((int)(DWORD)SendMessage((hwndCtl), LB_GETSEL, (WPARAM)(int)(index), 0L))
     1024#define ListBox_GetSelCount(hwndCtl)                ((int)(DWORD)SendMessage((hwndCtl), LB_GETSELCOUNT, 0L, 0L))
    10191025
    10201026#define Edit_LineFromChar(hwndCtl, ich)   \
Note: See TracChangeset for help on using the changeset viewer.