Results 1 to 6 of 6

Thread: no titlebar, but want menus

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Feb 2004
    Posts
    294

    no titlebar, but want menus

    I'm trying to get menus and want it invisible, also i dont want the titlebar. but for some reason, you cant get menus and no titlebar together for some reason. when the menu is implemented, the titlebar shows up no matter what. I tried disabling the menus and making it invisible, but the titlebar is still there. the only way to fix this is to delete the menu.
    Last edited by Whatupdoc; Sep 14th, 2005 at 06:08 AM.

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: no titlebar, but want menus

    Unfortunately, you are correct, and I don't know of a way around this.

  3. #3
    VB Addict Pradeep1210's Avatar
    Join Date
    Apr 2004
    Location
    Inside the CPU...
    Posts
    6,614

    Re: no titlebar, but want menus

    I'm not sure what you are talking about.
    Just have a look at this form. It has menus but not titlebar.

    EDIT: You can uncheck the visible property of top level menus (File, Edit etc.) to make them invisible.

    Pradeep
    Attached Files Attached Files
    Pradeep, Microsoft MVP (Visual Basic)
    Please appreciate posts that have helped you by clicking icon on the left of the post.
    "A problem well stated is a problem half solved." — Charles F. Kettering

    Read articles on My Blog101 LINQ SamplesJSON ValidatorXML Schema Validator"How Do I" videos on MSDNVB.NET and C# ComparisonGood Coding PracticesVBForums Reputation SaverString EnumSuper Simple Tetris Game


    (2010-2013)
    NB: I do not answer coding questions via PM. If you want my help, then make a post and PM me it's link. If I can help, trust me I will...

  4. #4

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Feb 2004
    Posts
    294

    Re: no titlebar, but want menus

    wow nice, thanks alot

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

    Re: no titlebar, but want menus

    Bear in mind you'll always get a single pixel wide black (or some system colour) line around your form if you do that; and the reason is because to have menus you need a non-client area (that is the titlebar, border etc., as opposed to the content of your form which is termed the client area) and it has to be at least one pixel wide.

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