TipMaker Tool

Adding tooltip text to dialog box controls is a tedious process. TipMaker.exe is a tool that makes that process considerably faster and less error prone.

Just load your project's resource file (myproject.rc) using the 'Open' menu command in TipMaker. TipMaker will parse the file and populate the list control at the top of the application window, as shown in the screenshot above.

Each dialog box in your resource file is shown with its ID and, if available, its Caption, as a separate row in this list control.

Click on a dialog box in the list control and the program code required to generate tooltips for each control in it is instantly generated in the (bottom) edit box. The tooltip text defaults to the control's label where a control has a text label, such as a button,

Just copy the boilerplate text to the dialog class's OnInitDialog() function (use the Copy menu option to copy it to the clipboard) and complete the TODOs in the commented text. Then enter your own tooltip text into the second parameter of each m_tooltip.AddTool() line of code.

Then compile and test your project.

Notes:

TipMaker does NOT tinker with the project's resource file - it only ever opens the file in read-only mode.

TipMaker assumes that the resource file does not change between when you open it with TipMaker and when you click on a dialog box in its top list control window. If you use Developer Studio to change the resource file you must re-open it in TipMaker.

Version History

  • Version 1.00 - February 1, 2000
  • Version 1.01 - February 7, 2000
    • Now accepts command line arguments, so you can add it to the VC Tools menu (using the arguments "$(WkspDir)\$(WkspName).rc" in the VC Tools setup dialog field)
    • Made the dialog slightly smaller so that it should fit on all 800x600 screens or higher
    • Made the comment text generated in the code window slightly more helpful

Downloads

Download TipMaker - 7 Kb



Comments

  • There are no comments yet. Be the first to comment!

Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • Live Event Date: August 19, 2014 @ 11:00 a.m. ET / 8:00 a.m. PT You deployed your app with the Bluemix PaaS and it's gaining some serious traction, so it's time to make some tweaks. Did you design your application in a way that it can scale in the cloud? Were you even thinking about the cloud when you built the app? If not, chances are your app is going to break. Check out this upcoming webcast to learn various techniques for designing applications that will scale successfully in Bluemix, for the …

  • Java developers know that testing code changes can be a huge pain, and waiting for an application to redeploy after a code fix can take an eternity. Wouldn't it be great if you could see your code changes immediately, fine-tune, debug, explore and deploy code without waiting for ages? In this white paper, find out how that's possible with a Java plugin that drastically changes the way you develop, test and run Java applications. Discover the advantages of this plugin, and the changes you can expect to see …

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds