LMMS
Loading...
Searching...
No Matches
juce::SystemTrayIconComponent::Pimpl Class Reference

Public Member Functions

 Pimpl (const Image &im, Window windowH)
 Pimpl (SystemTrayIconComponent &owner_, HICON hicon, HWND hwnd)
 ~Pimpl ()
void updateIcon (HICON hicon)
void setToolTip (const String &toolTip)
void handleTaskBarEvent (const LPARAM lParam)
LRESULT windowProc (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
void showBubble (const String &title, const String &content)

Static Public Member Functions

static PimplgetPimpl (HWND hwnd)
static LRESULT CALLBACK hookedWndProc (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)

Public Attributes

Image image
SystemTrayIconComponent & owner
NOTIFYICONDATA iconData

Private Types

enum  { WM_TRAYNOTIFY = WM_USER + 100 }

Private Member Functions

void notify (DWORD message) noexcept

Private Attributes

WNDPROC originalWndProc
const DWORD taskbarCreatedMessage

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
private
Enumerator
WM_TRAYNOTIFY 

Constructor & Destructor Documentation

◆ Pimpl() [1/2]

juce::SystemTrayIconComponent::Pimpl::Pimpl ( const Image & im,
Window windowH )
inline

◆ Pimpl() [2/2]

juce::SystemTrayIconComponent::Pimpl::Pimpl ( SystemTrayIconComponent & owner_,
HICON hicon,
HWND hwnd )
inline

◆ ~Pimpl()

juce::SystemTrayIconComponent::Pimpl::~Pimpl ( )
inline

Member Function Documentation

◆ getPimpl()

Pimpl * juce::SystemTrayIconComponent::Pimpl::getPimpl ( HWND hwnd)
inlinestatic

◆ handleTaskBarEvent()

void juce::SystemTrayIconComponent::Pimpl::handleTaskBarEvent ( const LPARAM lParam)
inline

◆ hookedWndProc()

LRESULT CALLBACK juce::SystemTrayIconComponent::Pimpl::hookedWndProc ( HWND hwnd,
UINT message,
WPARAM wParam,
LPARAM lParam )
inlinestatic

◆ notify()

void juce::SystemTrayIconComponent::Pimpl::notify ( DWORD message)
inlineprivatenoexcept

◆ setToolTip()

void juce::SystemTrayIconComponent::Pimpl::setToolTip ( const String & toolTip)
inline

◆ showBubble()

void juce::SystemTrayIconComponent::Pimpl::showBubble ( const String & title,
const String & content )
inline

◆ updateIcon()

void juce::SystemTrayIconComponent::Pimpl::updateIcon ( HICON hicon)
inline

◆ windowProc()

LRESULT juce::SystemTrayIconComponent::Pimpl::windowProc ( HWND hwnd,
UINT message,
WPARAM wParam,
LPARAM lParam )
inline

Member Data Documentation

◆ iconData

NOTIFYICONDATA juce::SystemTrayIconComponent::Pimpl::iconData

◆ image

Image juce::SystemTrayIconComponent::Pimpl::image

◆ originalWndProc

WNDPROC juce::SystemTrayIconComponent::Pimpl::originalWndProc
private

◆ owner

SystemTrayIconComponent& juce::SystemTrayIconComponent::Pimpl::owner

◆ taskbarCreatedMessage

const DWORD juce::SystemTrayIconComponent::Pimpl::taskbarCreatedMessage
private

The documentation for this class was generated from the following files: