29#if JUCE_WINDOWS || DOXYGEN
The base class for all JUCE user-interface objects.
A graphics context, used for drawing a component or image.
A Windows-specific class that can create and embed a HWND inside itself.
HWNDComponent()
Create an initially-empty container.
void setHWND(void *hwnd)
Assigns a HWND to this peer.
void * getHWND() const
Returns the current HWND.
~HWNDComponent() override
Destructor.
void updateHWNDBounds()
Forces the bounds of the HWND to match the bounds of this component.
void paint(Graphics &) override
Components can override this method to draw their content.
void resizeToFit()
Resizes this component to fit the HWND that it contains.