Results 1 to 7 of 7

Thread: Show icon but not min,max,close buttons?

  1. #1

    Thread Starter
    PowerPoster lintz's Avatar
    Join Date
    Mar 2003
    Location
    The 19th Hole
    Posts
    2,697

    Show icon but not min,max,close buttons?

    Is there a way to show the form icon but not the min, max and close buttons?

    I've set the Control Box property to false but this also removes the icon for the form.

  2. #2
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: Show icon but not min,max,close buttons?

    You can set the MaxButton and MinButton to false, but I think that if you search around, someone posted how to come up with all kinds of unusual combinations of buttons on a form using different properties. I remember reading about it.

  3. #3

  4. #4
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: Show icon but not min,max,close buttons?

    Here you go

  5. #5
    Software Carpenter dee-u's Avatar
    Join Date
    Feb 2005
    Location
    Pinas
    Posts
    11,127

    Re: Show icon but not min,max,close buttons?

    Quote Originally Posted by penagate
    Here you go
    That seems to do the opposite of what he wants...
    Regards,


    As a gesture of gratitude please consider rating helpful posts. c",)

    Some stuffs: Mouse Hotkey | Compress file using SQL Server! | WPF - Rounded Combobox | WPF - Notify Icon and Balloon | NetVerser - a WPF chatting system

  6. #6
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: Show icon but not min,max,close buttons?

    Whoops

    Well, you could turn off the min and max buttons and use code to remove the Close button (I think Hack has some code for that somewhere) and that would leave your icon.

  7. #7
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: Show icon but not min,max,close buttons?

    http://www.vbforums.com/showpost.php...50&postcount=4

    Not sure how that compares to creating your own titlebar (RB's sample). It's an alternative

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width