You have to set appropriate flags in the constructor (third argument) of the child window. You'll need WStyle_Customize, WStyle_SysMenu (when using Windows), and WStyle_MinMax and probably one of main types like WStyle_TopLevel to have a start. If you negate the WStyle_MinMax flag, you should disable those buttons you don't want.