Results 1 to 12 of 12

Thread: can i make my own type of button on the titleMaximize Minimize

  1. #1

    Thread Starter
    Frenzied Member JasonLpz's Avatar
    Join Date
    Mar 2001
    Location
    Brooklyn, NY
    Posts
    1,335
    How can i put my own type of button on the title bar of my program ? Like right next to _ and X and the square.
    - JayWare
    Live to love. Not to Hate

    Im to busy to have a site. But I got one and still working on it.

    http://dre3k.net/

  2. #2
    Guest
    Take a look at this thread.

  3. #3

    Thread Starter
    Frenzied Member JasonLpz's Avatar
    Join Date
    Mar 2001
    Location
    Brooklyn, NY
    Posts
    1,335
    how did yo get the square
    - JayWare
    Live to love. Not to Hate

    Im to busy to have a site. But I got one and still working on it.

    http://dre3k.net/

  4. #4
    Guest
    What square?

  5. #5

    Thread Starter
    Frenzied Member JasonLpz's Avatar
    Join Date
    Mar 2001
    Location
    Brooklyn, NY
    Posts
    1,335
    the maximize square
    - JayWare
    Live to love. Not to Hate

    Im to busy to have a site. But I got one and still working on it.

    http://dre3k.net/

  6. #6
    Guest
    Oh, I changed the font to Marlett.

  7. #7
    Addicted Member KrishnaSantosh's Avatar
    Join Date
    Feb 2001
    Location
    Coimbatore
    Posts
    210
    Set the Caption Property to Null String
    And Also Set the ControlBox to False.

    Create A Picture Box In the place of titlebar.
    This is your custom titlebar.

    In the event

    Private Sub Picture1_MouseMove(Button as Integer,...)
    If Button Then
    ReleaseCapture ' Declare This API Before Using
    SendMessage Me.hWnd,&HA1,2&,0 'Declare This API Too

    'If You Want To Play Sound
    'sndPlaySound "SoundName",&H1 'Declare This Too.
    Endif
    End Sub


    You can then add more picture boxes or image boxes or
    any thing that has a click event in the place of the
    minimize, maximize and close buttons and act accordingly.

  8. #8
    coder. Lord Orwell's Avatar
    Join Date
    Feb 2001
    Location
    Elberfeld, IN
    Posts
    7,628
    Originally posted by smashtheqube
    I've always wondered how AOL did that.
    yeah, me too. I tried to get the handle to one once. Never was able to.
    My light show youtube page (it's made the news) www.youtube.com/@lightsofelberfeld
    Contact me on the socials www.facebook.com/lordorwell

  9. #9

    Thread Starter
    Frenzied Member JasonLpz's Avatar
    Join Date
    Mar 2001
    Location
    Brooklyn, NY
    Posts
    1,335
    oh i c thanks Matthew
    - JayWare
    Live to love. Not to Hate

    Im to busy to have a site. But I got one and still working on it.

    http://dre3k.net/

  10. #10
    Addicted Member Xdream's Avatar
    Join Date
    Mar 2001
    Location
    Switzerland
    Posts
    194

    Thumbs up

    Hi,
    this is really good, but how do you create your custom titlebar when using a menu? I tried it, but the menu was above the titlebar.
    I'd like to have a 4th button in the titlebar to minimize the form to tray, how can I do that?

    thanks

  11. #11

    Thread Starter
    Frenzied Member JasonLpz's Avatar
    Join Date
    Mar 2001
    Location
    Brooklyn, NY
    Posts
    1,335
    Nice Avatar Xdream

    http://forums.vb-world.net/avatar.php?s=&userid=16234

    looks better surrounded by white
    - JayWare
    Live to love. Not to Hate

    Im to busy to have a site. But I got one and still working on it.

    http://dre3k.net/

  12. #12
    Addicted Member Xdream's Avatar
    Join Date
    Mar 2001
    Location
    Switzerland
    Posts
    194

    Talking

    Yeah, thanks JasonLpz, but finally it's not really mine you know, the web is huge...

    Regards

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