Control Size of ModelViewWindow

Hi,

I am creating a ModelViewWindow with DisplayWindowFromHandlex64 - which works fine basically - but i cannot control the size - it always looks like in the Screenshot

attached.

How can i control the size of the insertet Control?

BR

Alex

SolidworksApi/macros