[STOBJECT]
authorEric Kohl <eric.kohl@reactos.org>
Thu, 23 Mar 2017 19:51:53 +0000 (19:51 +0000)
committerEric Kohl <eric.kohl@reactos.org>
Thu, 23 Mar 2017 19:51:53 +0000 (19:51 +0000)
commita9265410de5160cdf06bb6f43956321e37bb9dca
tree541f6a8ca69006e6746e30a3c67e805f81ebfcb9
parentb8b7eedce2afc8c1f3c3e6d8839a23276aab0f6c
[STOBJECT]
Implement code to show and hide the power and volume icons in the notification area aka systray.
Control panel applications send WM_USR+220 messages to the systray window in order to show or hide an icon in the systray. The wParam parameter identifies the icon: 1=power, 4=volume. The lParam parameter indicates the new icon status: 0:show, 1:hide.
Control panel applications also send WM_USER+221 messages to the systray window in order to retrieve the current status of a systray icon. The wParam parameter identifies the icon, just like in the WM_SUER+220 messages. The lParam parameter is ignored. The return value indicates the status of the icon: 1:visible, 0:hidden.

svn path=/trunk/; revision=74225
reactos/dll/shellext/stobject/CMakeLists.txt
reactos/dll/shellext/stobject/csystray.cpp
reactos/dll/shellext/stobject/csystray.h
reactos/dll/shellext/stobject/power.cpp [new file with mode: 0644]
reactos/dll/shellext/stobject/precomp.h
reactos/dll/shellext/stobject/volume.cpp