Ignore:
Timestamp:
Nov 2, 2009, 3:10:29 AM (16 years ago)
Author:
Dmitry A. Kuminov
Message:

3rdparty: os2/xsystray: Use custom shared memory pool for structures posted by the server to the client windows. Process mouse/wheel and context menu messages in the icon area and post them to the respective client windows. Use smaller spacing between icons (one pad unit instead of two).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/3rdparty/os2/xsystray/xsystray_api.h

    r256 r273  
    2424// tray (refer to xstAddSysTrayIcon() for details)
    2525#define XST_IN_MOUSE    0x0001
     26
     27
    2628
    2729// structure for XST_IN_MOUSE
     
    2931{
    3032    ULONG  ulMouseMsg;
     33
    3134    POINTS ptsPointerPos;
     35
    3236    USHORT fsHitTestRes;
     37
    3338    USHORT fsFlags;
     39
    3440
    3541} XSTMOUSEMSG, *PXSTMOUSEMSG;
    3642
     43
     44
     45
     46
     47
     48
     49
     50
     51
     52
     53
     54
     55
     56
     57
     58
     59
     60
     61
     62
     63
     64
    3765BOOL xstQuerySysTrayVersion(PULONG pulMajor, PULONG pulMinor, PULONG pulRevision);
    38 BOOL xstAddSysTrayIcon(HWND hwnd, ULONG ulId, HPOINTER hIcon, ULONG ulMsgId,
     66BOOL xstAddSysTrayIcon(HWND hwnd, UId, HPOINTER hIcon, ULONG ulMsgId,
    3967                       ULONG ulFlags);
    40 BOOL xstRemoveSysTrayIcon(HWND hwnd, ULONG ulId);
    41 BOOL xstSetSysTrayIconToolTip(HWND hwnd, ULONG ulId, PSZ pszText);
    42 BOOL xstShowSysTrayIconBalloon(HWND hwnd, ULONG ulId, PSZ pszTitle, PSZ pszText,
     68BOOL xstRemoveSysTrayIcon(HWND hwnd, UId);
     69BOOL xstSetSysTrayIconToolTip(HWND hwnd, UId, PSZ pszText);
     70BOOL xstShowSysTrayIconBalloon(HWND hwnd, UId, PSZ pszTitle, PSZ pszText,
    4371                               ULONG ulFlags, ULONG ulTimeout);
    44 BOOL xstHideSysTrayIconBalloon(HWND hwnd, ULONG ulId);
     72BOOL xstHideSysTrayIconBalloon(HWND hwnd, UId);
    4573
    46 BOOL xstQuerySysTrayIconRect(HWND hwnd, ULONG ulId, PRECTL prclRect);
     74BOOL xstQuerySysTrayIconRect(HWND hwnd, UId, PRECTL prclRect);
    4775
    4876ULONG xstGetSysTrayCreatedMsgId();
Note: See TracChangeset for help on using the changeset viewer.