Last change
on this file was 21602, checked in by dmik, 14 years ago |
shell32: systray: Added support for the "TaskbarCreated" system notificaiton message that Windows broadcasts to all top-level windows when the taskbar (xcenter in case of OS/2) is (re)started. This allows applications supporting this message (including Java applications) recreate their taskbar icons.
|
-
Property svn:eol-style
set to
native
|
File size:
943 bytes
|
Rev | Line | |
---|
[21591] | 1 | /*
|
---|
| 2 | * OS/2 System Tray support.
|
---|
| 3 | *
|
---|
| 4 | * Common definitions.
|
---|
| 5 | */
|
---|
| 6 |
|
---|
| 7 | #ifndef __WINE_SYSTRAY_OS2_H
|
---|
| 8 | #define __WINE_SYSTRAY_OS2_H
|
---|
| 9 |
|
---|
| 10 | #include "systray.h"
|
---|
| 11 |
|
---|
[21600] | 12 | // define some Win32 structs and types in terms of OS/2 types
|
---|
| 13 | // to avoid inclusion of shellapi.h that would create conflicts
|
---|
[21591] | 14 |
|
---|
[21592] | 15 | #define NIF_MESSAGE 0x00000001
|
---|
| 16 | #define NIF_ICON 0x00000002
|
---|
| 17 | #define NIF_TIP 0x00000004
|
---|
| 18 |
|
---|
[21591] | 19 | typedef struct _NOTIFYICONDATAA
|
---|
| 20 | { ULONG cbSize;
|
---|
| 21 | HWND hWnd;
|
---|
| 22 | ULONG uID;
|
---|
| 23 | ULONG uFlags;
|
---|
| 24 | ULONG uCallbackMessage;
|
---|
| 25 | HPOINTER hIcon;
|
---|
| 26 | CHAR szTip[64];
|
---|
| 27 | } NOTIFYICONDATAA, *PNOTIFYICONDATAA;
|
---|
| 28 |
|
---|
[21592] | 29 | // Note: This must match _SystrayItem from systray.c
|
---|
[21591] | 30 | struct _SystrayItem {
|
---|
| 31 | HWND hWndFrame;
|
---|
| 32 | HWND hWndClient;
|
---|
| 33 | NOTIFYICONDATAA notifyIcon;
|
---|
[21592] | 34 | ULONG uIdx;
|
---|
[21591] | 35 | struct _SystrayItem *nextTrayItem;
|
---|
| 36 | };
|
---|
| 37 |
|
---|
| 38 | BOOL SYSTRAY_Ex_Init(void);
|
---|
| 39 |
|
---|
| 40 | #endif // __WINE_SYSTRAY_OS2_H
|
---|
Note:
See
TracBrowser
for help on using the repository browser.