eHow launches Android app: Get the best of eHow on the go.

How To

How to Remove the Maximize, Minimize and Close Buttons

Member
By Socrates
User-Submitted Article
(4 Ratings)
Where'd it go?
Where'd it go?

When designing a Windows program, it's not always ideal to have the Maximize, Minimize and Close buttons on the window frame. Here's how you go about removing them.

Difficulty: Easy
Instructions

Things You'll Need:

  • Microsoft Visual Studio 2005
  1. Step 1
    Create new project
     
    Create new project

    Create/Open a VB Windows Application Project within Microsoft Visual Studio 2005.

  2. Step 2

    Select the form that needs to have the Maximize, Minimize and Close buttons removed.

  3. Step 3
    Turn ControlBox off
     
    Turn ControlBox off

    In the Properties Window under Window Style, look for the ControlBox property. Change it's value to false.

  4. Step 4

    Run the VB Application to test the results.

Tips & Warnings
  • You should always provide some way for your fans to get out of a window without causing an error. Errors can be very ugly and tend to cast a shadow of doubt in the dependability and reliability of the software.
Subscribe

Post a Comment

Post a Comment

Related Ads

  • Have you done this? Click here to let us know.
I Did This
Get Free Computers Newsletters

Copyright © 1999-2009 eHow, Inc. Use of this web site constitutes acceptance of the eHow Terms of Use and Privacy Policy .   en-US Portions of this page are modifications based on work created and shared by Google and used according to terms described in the Creative Commons 3.0 Attribution License. † requires javascript

eHow Computers
eHow_eHow Technology and Electronics