29#if JUCE_WINDOWS || DOXYGEN
120 intptr_t offerEventToActiveXControl (
void*);
121 static intptr_t offerEventToActiveXControlStatic (
void*);
126 bool mouseEventsAllowed =
true;
A Windows-specific class that can create and embed an ActiveX control inside itself.
void deleteControl()
Deletes the ActiveX control, if one has been created.
bool createControl(const void *controlIID)
Tries to create an ActiveX control and embed it in this peer.
void setEventHandler(void *eventHandler)
Set an instance of IDispatch where dispatch events should be delivered to.
~ActiveXControlComponent() override
Destructor.
void paint(Graphics &) override
Components can override this method to draw their content.
bool areMouseEventsAllowed() const noexcept
Returns true if mouse events are allowed to get through to the control.
void setMouseEventsAllowed(bool eventsCanReachControl)
Set this to false to stop mouse events being allowed through to the control.
void * queryInterface(const void *iid) const
Does a QueryInterface call on the embedded control object.
bool isControlOpen() const noexcept
Returns true if a control is currently in use.
ActiveXControlComponent()
Create an initially-empty container.
The base class for all JUCE user-interface objects.
A graphics context, used for drawing a component or image.