Ignore:
Timestamp:
Jan 27, 2000, 12:17:52 AM (26 years ago)
Author:
sandervl
Message:

header changes

File:
1 edited

Legend:

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

    r1118 r2524  
    1 /* $Id: windowsx.h,v 1.6 1999-10-04 09:55:51 sandervl Exp $ */
     1/* $Id: windowsx.h,v 1.7 2000-01-26 23:17:50 sandervl Exp $ */
    22
    33/* Copyright (C) 1999 Corel Corporation (Paul Quinn) */
     
    934934    (void)(fn)((hwnd), WM_COMMNOTIFY, (WPARAM)(cid), MAKELPARAM((flags), 0))
    935935#endif
     936
     937/* void Cls_OnContextMenu(HWND hwnd, HWND hwndContext, UINT xPos, UINT yPos) */
     938#define HANDLE_WM_CONTEXTMENU(hwnd, wParam, lParam, fn) \
     939    ((fn)((hwnd), (HWND)(wParam), (UINT)LOWORD(lParam), (UINT)HIWORD(lParam)), 0L)
     940#define FORWARD_WM_CONTEXTMENU(hwnd, hwndContext, xPos, yPos, fn) \
     941    (void)(fn)((hwnd), WM_CONTEXTMENU, (WPARAM)(HWND)(hwndContext), MAKELPARAM((UINT)(xPos), (UINT)(yPos)))
    936942
    937943/****** COMBOBOX control message APIs *****************************************/
Note: See TracChangeset for help on using the changeset viewer.