i'm writing qt software over Windows a i'm subclassing QMdiSubWindow for paint custom background and border.
I need tu put some button over Titlebar, this is quite simple but the problem is that QtCore send click event to button only if mouse is into old title bar height, other click into "old client area" won't gone to button.
I've tried with custom Style or Layout but it didn't works.
How can i resize correctly titlebar? i've to catch NC_ClienteArea event?
Thank you for answer