I want to use juce widgets in another application, so as you have mentioned in the Documentation , i have done like this
But when i show the Button like this , it is not attaching to the window.
juce::TextButton* pButton = new juce::TextButton("dad", "");
pButton->addToDesktop( juce::ComponentPeer::windowIsResizable , hWnd);
pButton->setBounds(10, 10, 200, 200);
i think i should not say addtoDesktop(), but not sure what method to use to attach to the Window.
So please tell me how to use the widgets in another application windows.