Ignore:
Timestamp:
Feb 17, 2001, 4:38:17 PM (25 years ago)
Author:
sandervl
Message:

YD: header changes for compiling opera

File:
1 edited

Legend:

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

    r3850 r5148  
    1 /* $Id: windowsx.h,v 1.10 2000-07-18 18:30:42 sandervl Exp $ */
    2 
    31/* Copyright (C) 1999 Corel Corporation (Paul Quinn) */
    42
     
    942940
    943941/****** COMBOBOX control message APIs *****************************************/
     942
     943#define ComboBox_Enable(hwndCtl, fEnable)       EnableWindow((hwndCtl), (fEnable))
     944#define ComboBox_GetText(hwndCtl, lpch, cchMax) GetWindowText((hwndCtl), (lpch), (cchMax))
     945#define ComboBox_GetTextLength(hwndCtl)         GetWindowTextLength(hwndCtl)
     946#define ComboBox_SetText(hwndCtl, lpsz)         SetWindowText((hwndCtl), (lpsz))
     947
    944948#define ComboBox_GetCount(hwndCtl)            \
    945949                ((int)(DWORD)SendMessage((hwndCtl), CB_GETCOUNT, 0L, 0L))
     
    11301134#define FORWARD_WM_DRAWITEM(hwnd, lpDrawItem, fn) \
    11311135        (void)(fn)((hwnd), WM_DRAWITEM, (WPARAM)(((const DRAWITEMSTRUCT *)lpDrawItem)->CtlID), (LPARAM)(const DRAWITEMSTRUCT *)(lpDrawItem))
     1136
     1137
     1138#define GET_WPARAM(wp, lp)                      (wp)
     1139#define GET_LPARAM(wp, lp)                      (lp)
     1140
     1141#define GET_X_LPARAM(lp)                        ((int)(short)LOWORD(lp))
     1142#define GET_Y_LPARAM(lp)                        ((int)(short)HIWORD(lp))
    11321143                               
    11331144/****** C runtime porting macros ****************************************/
Note: See TracChangeset for help on using the changeset viewer.