LMMS
Loading...
Searching...
No Matches
juce::ActiveXControlComponent::Pimpl Class Reference
Inheritance diagram for juce::ActiveXControlComponent::Pimpl:
juce::ComponentMovementWatcher juce::ComponentPeer::ScaleFactorListener juce::ComponentListener

Public Member Functions

 Pimpl (HWND hwnd, ActiveXControlComponent &activeXComp)
 ~Pimpl () override
void setControlBounds (Rectangle< int > newBounds) const
void setControlVisible (bool shouldBeVisible) const
void componentMovedOrResized (bool, bool) override
void componentPeerChanged () override
void componentVisibilityChanged () override
void nativeScaleFactorChanged (double) override
void componentMovedOrResized (Component &, bool wasMoved, bool wasResized) override
void componentVisibilityChanged (Component &) override
Public Member Functions inherited from juce::ComponentMovementWatcher
 ComponentMovementWatcher (Component *componentToWatch)
 ~ComponentMovementWatcher () override
ComponentgetComponent () const noexcept
void componentParentHierarchyChanged (Component &) override
void componentBeingDeleted (Component &) override
Public Member Functions inherited from juce::ComponentListener
virtual ~ComponentListener ()=default
virtual void componentBroughtToFront (Component &component)
virtual void componentChildrenChanged (Component &component)
virtual void componentNameChanged (Component &component)
virtual void componentEnablementChanged (Component &component)
Public Member Functions inherited from juce::ComponentPeer::ScaleFactorListener
virtual ~ScaleFactorListener ()=default

Static Public Member Functions

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

Public Attributes

ActiveXControlComponent & owner
ComponentPeercurrentPeer = nullptr
HWND controlHWND = {}
IStorage * storage = nullptr
ActiveXHelpers::JuceIOleClientSiteclientSite = nullptr
IOleObject * control = nullptr
WNDPROC originalWndProc = nullptr

Constructor & Destructor Documentation

◆ Pimpl()

juce::ActiveXControlComponent::Pimpl::Pimpl ( HWND hwnd,
ActiveXControlComponent & activeXComp )
inline

◆ ~Pimpl()

juce::ActiveXControlComponent::Pimpl::~Pimpl ( )
inlineoverride

Member Function Documentation

◆ activeXHookWndProc()

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

◆ componentMovedOrResized() [1/2]

void juce::ActiveXControlComponent::Pimpl::componentMovedOrResized ( bool wasMoved,
bool wasResized )
inlineoverridevirtual

This callback happens when the component that is being watched is moved relative to its top-level peer window, or when it is resized.

Implements juce::ComponentMovementWatcher.

◆ componentMovedOrResized() [2/2]

void juce::ComponentMovementWatcher::componentMovedOrResized ( Component & component,
bool wasMoved,
bool wasResized )
overridevirtual

Called when the component's position or size changes.

Parameters
componentthe component that was moved or resized
wasMovedtrue if the component's top-left corner has just moved
wasResizedtrue if the component's width or height has just changed
See also
Component::setBounds, Component::resized, Component::moved

Reimplemented from juce::ComponentMovementWatcher.

◆ componentPeerChanged()

void juce::ActiveXControlComponent::Pimpl::componentPeerChanged ( )
inlineoverridevirtual

This callback happens when the component's top-level peer is changed.

Implements juce::ComponentMovementWatcher.

◆ componentVisibilityChanged() [1/2]

void juce::ActiveXControlComponent::Pimpl::componentVisibilityChanged ( )
inlineoverridevirtual

This callback happens when the component's visibility state changes, possibly due to one of its parents being made visible or invisible.

Implements juce::ComponentMovementWatcher.

◆ componentVisibilityChanged() [2/2]

void juce::ComponentMovementWatcher::componentVisibilityChanged ( Component & component)
overridevirtual

Called when the component is made visible or invisible.

Parameters
componentthe component that changed
See also
Component::setVisible

Reimplemented from juce::ComponentMovementWatcher.

◆ nativeScaleFactorChanged()

void juce::ActiveXControlComponent::Pimpl::nativeScaleFactorChanged ( double newScaleFactor)
inlineoverridevirtual

Called when the scale factor changes.

Implements juce::ComponentPeer::ScaleFactorListener.

◆ setControlBounds()

void juce::ActiveXControlComponent::Pimpl::setControlBounds ( Rectangle< int > newBounds) const
inline

◆ setControlVisible()

void juce::ActiveXControlComponent::Pimpl::setControlVisible ( bool shouldBeVisible) const
inline

Member Data Documentation

◆ clientSite

ActiveXHelpers::JuceIOleClientSite* juce::ActiveXControlComponent::Pimpl::clientSite = nullptr

◆ control

IOleObject* juce::ActiveXControlComponent::Pimpl::control = nullptr

◆ controlHWND

HWND juce::ActiveXControlComponent::Pimpl::controlHWND = {}

◆ currentPeer

ComponentPeer* juce::ActiveXControlComponent::Pimpl::currentPeer = nullptr

◆ originalWndProc

WNDPROC juce::ActiveXControlComponent::Pimpl::originalWndProc = nullptr

◆ owner

ActiveXControlComponent& juce::ActiveXControlComponent::Pimpl::owner

◆ storage

IStorage* juce::ActiveXControlComponent::Pimpl::storage = nullptr

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