Vinaya

Vinaya

  • NA
  • 8
  • 0

disable minimize/maximize and restore button on mdi child form. But need Close button to be active.

Nov 25 2009 1:19 AM
I want to disable the min/max/restore button of my mdichild form. For that I have set MaximizeBox=false and MinimizeBox=false, borderstyle=resizable and my form opens in Normal state. Now the problem is minimize button is disabled but it shows a restore button, i want this restore button also to be disabled. Any way to do this? i don't want to use controlbox = false because i still need the close button.

Answers (4)