Results 1 to 3 of 3

Thread: Adding A Titlebar Button

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Feb 2000
    Location
    Gig Harbor, WA, USA
    Posts
    25
    I'm looking to add a button to the titlebar of a window, just like the _X buttons.

    An example of this can be seen in the download program GetRight (www.getright.com), in which the individual download windows have an additional titlebar button that triggers minimizing to the tray. (Whew, deep breath)

    Anyone know a code-based or component-based way to do this? I don't want to create a button on an empty form and float it above the titlebar of the target form.
    (¯`·.¸¸.·´¯`·->Cromas<-·´¯`·.¸¸.·´¯)
    Teenage Programmer
    Formerly known as ShadowCrawler

    E-Mail: [email protected]
    ICQ: 9872708
    AIM: VotchOut

  2. #2
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649
    I did that ones.....
    Hmmm... Where did I put the code again......

    I think I have it on one of my job computers, I will have a look but that will not be before next week I'm affraid.
    But I will send it to you if I find it (and if you haven't fond anythink like it before).

    BTW
    Nice Site you got. I saw you had my CTextBoxEx class for download. That's good!

    Best regards

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Feb 2000
    Location
    Gig Harbor, WA, USA
    Posts
    25
    Great! Thanks a lot. Ignore the email I already sent you. LOL.

    Yah, I changed a few things in it...such as the DelLine function, it deleted the text in the line, but left the CRLF combo alone, which left an undesirable blank line Couple of other things too. Just so you know. hehe.
    (¯`·.¸¸.·´¯`·->Cromas<-·´¯`·.¸¸.·´¯)
    Teenage Programmer
    Formerly known as ShadowCrawler

    E-Mail: [email protected]
    ICQ: 9872708
    AIM: VotchOut

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