DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Join Date
    May 2008
    Posts
    57

    Change the tooltip text on each button

    Hi

    How do I change the tooltip text on close button, maximum and minimize button the one that come on the titlebar??




    Thanks,
    Mark
    Last edited by Mark107; 05-13-2008 at 03:26 PM.

  2. #2
    Join Date
    Nov 2003
    Location
    Portland, OR
    Posts
    8,387
    Your choices are:

    1. Disable the tooltips altogether, so that no tooltips appear on the title bar buttons: http://support.microsoft.com/kb/186385;
    2. Make the form borderless and use Windows Forms controls to simulate a title bar: http://www.aspfree.com/c/a/VB.NET/Fo...Visual-Basic/; or,
    3. Capture Windows messages and custom draw the title bar with your own buttons: http://geekswithblogs.net/kobush/art...rderForms.aspx

    Wouldn't it be simpler to just instruct users to set their Windows culture to the desired languge?
    Phil Weber
    http://www.philweber.com

    Please post questions to the forums, where others may benefit.
    I do not offer free assistance by e-mail. Thank you!

  3. #3
    Join Date
    May 2008
    Posts
    57
    I do not wish to create a bolderless form which it will give me alot of work to do. However is it possible to rename the tooltip texts on the box on the top right corner??



    Something would have to be looks like this...

    Code:
    Me.MaximizeBox.Text = "Tester"
    Me.MinimizeBox.Text = "123"


    I hope that it possible to rename the tooltip text on each box.

    Thanks,
    Mark

  4. #4
    Join Date
    Nov 2003
    Location
    Portland, OR
    Posts
    8,387
    No, I don't believe that is possible. As far as I know, the options I outlined in my previous post are the only choices available to you.
    Phil Weber
    http://www.philweber.com

    Please post questions to the forums, where others may benefit.
    I do not offer free assistance by e-mail. Thank you!

  5. #5
    Join Date
    May 2008
    Posts
    57
    Ok thanks for your advise, how about removing the boxes and create the new buttons to place them on the titlebar??




    Thanks,
    Mark

  6. #6
    Join Date
    Nov 2003
    Location
    Portland, OR
    Posts
    8,387
    That's option 3 in my original reply.
    Phil Weber
    http://www.philweber.com

    Please post questions to the forums, where others may benefit.
    I do not offer free assistance by e-mail. Thank you!

  7. #7
    Join Date
    May 2008
    Posts
    57
    Ok then, thanks for your advice.




    Thanks anyway.....



    Regards,
    Mark

Similar Threads

  1. Need help with calculator...
    By 2eXtreme in forum Java
    Replies: 0
    Last Post: 04-05-2006, 07:38 AM
  2. Importing text file using schema.ini
    By Kevin in forum VB Classic
    Replies: 3
    Last Post: 12-05-2005, 06:25 PM
  3. text validation/command button problem
    By Jade29 in forum VB Classic
    Replies: 8
    Last Post: 01-23-2002, 11:22 PM
  4. Script for scrolling
    By Mark in forum Web
    Replies: 3
    Last Post: 08-30-2001, 11:45 AM
  5. coloring command button text
    By Chan in forum VB Classic
    Replies: 0
    Last Post: 12-23-2000, 09:53 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links