Application title bar icon

How would I add the icon that you see at the top left of an application title.
I have added a icon in the resource file so in my windows taskbar i see the application Icon, but how do I get it to show up on the top left corner when I actually open the application?

AcidDragon

I used to have a handle on life, but it broke!

You could turn on the native title bar - DocumentWindow::setUsingNativeTitleBar

The juce one won’t draw an icon unless you draw one yourself.

Won’t turning on the native title bar make it look less polished? or should I say more windows like?

Is it complicated to draw it myslef on the juce title bar?

[quote=“jules”]You could turn on the native title bar - DocumentWindow::setUsingNativeTitleBar

The juce one won’t draw an icon unless you draw one yourself.[/quote]

Unless the window inherits from DocumentWindow in which case setIcon() would do what the OP is asking for, no?