Results 1 to 5 of 5

Thread: [RESOLVED] No border

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Feb 2006
    Posts
    129

    Resolved [RESOLVED] No border

    How can I make it so there is not the bar at the top of the form with the
    -[]X (minimize, maximize, exit) buttons and still have a menu such as File and Help?

  2. #2
    VB6, XHTML & CSS hobbyist Merri's Avatar
    Join Date
    Oct 2002
    Location
    Finland
    Posts
    6,654

    Re: No border

    Looks like your best choice would be subclassing. Basically you'd capture some of the window drawing messages the window receives and change them so that no caption bar never gets drawn and then reposition the menu. I'm actually not entirely sure if this can be done as I haven't tried doing it by myself, but subclassing would be the most lightweight solution (processor usage wise) for doing it. Your other solution would be to make the menu systems yourself, ie. have menus in another hidden form and then use PopupMenu to pop out the menus.

    If interested for an easy way to subclass, take a look at WinSubHook (Planet Source Code).

  3. #3

  4. #4

    Thread Starter
    Addicted Member
    Join Date
    Feb 2006
    Posts
    129

    Re: No border

    Well, I decided to go with making my own menu. Thanks for all the help
    Resizing
    System Balloons

    If your question is answered, please mark the thread resolved by pulling down the Thread Tools menu and clicking the Mark Thread Resolved button.

    Remember to rate a post if you find it helpful

  5. #5

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