Titlebar height of component

Is there a way to change the height of the titlebar, of a component shown with:

addToDesktop(ComponentPeer::windowHasTitleBar, someHWND);

I realize I can do it if I use a documentWindow, but I need to attach it to a native window.

Cheers
Søren