Hi all,
I’m total newbie. I want to learn Juce and Visual C++. I’m app and web developer.
That’s my problem.
I’m creating a new plugin with juce.
I’m trrying to add combobox in a fixed layout.
I added this code inside plugineditor.h
//==============================================================================
void MidiSenderAudioProcessorEditor::paint (Graphics& g)
{
// (Our component is opaque, so we must completely fill the background with a solid colour)
g.fillAll (getLookAndFeel().findColour (ResizableWindow::backgroundColourId));
g.setColour (Colours::white);
g.setFont (15.0f);
g.drawFittedText ("Hello World!", getLocalBounds(), Justification::centred, 1);
ComboBox styleMenu;
// add items to the combo-box
addAndMakeVisible(styleMenu,2);
styleMenu.addItem("Plain", 1);
styleMenu.addItem("Bold", 2);
styleMenu.addItem("Italic", 3);
}
But combobox never is shown.
Could you helme?
Kind Regards
