Changeset 276 for trunk/src/3rdparty


Ignore:
Timestamp:
Nov 2, 2009, 2:56:14 PM (16 years ago)
Author:
Dmitry A. Kuminov
Message:

3rdparty: os2/xsystray: Implemented the client-side notification message interception and delivery to the target window (experimental, needs some tuning, see @todo).

File:
1 edited

Legend:

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

    r273 r276  
    2020#define INCL_WINATOM
    2121#define INCL_WINPOINTERS
     22
    2223#include <os2.h>
    2324
     
    2728#include <string.h>
    2829#include <sys/builtin.h>        // atomics
     30
     31
     32
     33
     34
    2935
    3036static
     
    170176
    171177/*
     178
     179
     180
     181
     182
     183
     184
     185
     186
     187
     188
     189
     190
     191
     192
     193
     194
     195
     196
     197
     198
     199
     200
     201
     202
     203
     204
     205
     206
     207
     208
     209
     210
     211
    172212 *@@ xstQuerySysTrayVersion:
    173213 *
     
    262302        return FALSE;
    263303
     304
     305
     306
     307
     308
     309
     310
     311
     312
     313
     314
     315
     316
     317
    264318    // give all processes temporary access to hIcon
    265319    brc = WinSetPointerOwner(hIcon, 0, FALSE);
     
    400454ULONG xstGetSysTrayCreatedMsgId()
    401455{
    402     static ULONG WM_XST_CREATED = 0;
    403456    if (WM_XST_CREATED == 0)
    404457        WM_XST_CREATED = WinAddAtom(WinQuerySystemAtomTable(),
Note: See TracChangeset for help on using the changeset viewer.