Solved

Balloon Help Problems

Posted on 2000-03-14
2
280 Views
Last Modified: 2013-12-26

I have a program that offers Balloon help in a couple of its windows but
if I turn on Balloon help and leave it on, I end up with Balloons in all my windows even
if there is no Balloon help associated with the window. Also, if I do have
an 'hdlg' resource for another window the Balloons that are shown are from the 1st window
I opened that had a Balloon 'hdlg' resource associted with it.
0
Comment
Question by:gail_p
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 4

Accepted Solution

by:
Alex Curylo earned 100 total points
ID: 2618035
First off, I recommend not wasting your time on Balloon Help at all since it doesn't exist under Carbon or OS X.

That said, if by "end up with Balloons in all my windows" you mean the idiotic 'This is a title bar', 'This is an inactive window', etc. etc. no, there is absolutely no way to have Balloon Help on and those off. Annoying as all hell, isn't it?

If all you want is a tooltips type thing, there are sample PowerPlant classes that could be adapted to that rather easily, I assume you're using Code Warrior and know where the PowerPlant Contributed Archive is on their website? If you want real help balloons but don't want the stupid system balloons, about your only option is to turn on Balloon Help manually with HMSetBalloons when you detect the mouse is pointing at something you want to show help for, then turn it off again as soon as the mouse moves.

As for the confused 'hdlg' resources, that sounds very like a resource ID and/or identification conflict. Make absolutely certain your 'hwin' resources are specifying each dialog in an unambiguous  fashion, as described at

http://developer.apple.com/techpubs/mac/MoreToolbox/MoreToolbox-150.html#MARKER-9-276

My quick guess is that your dialogs have ambiguous titles, but I'd have to actually see the resources to figure out what the problem is.

0
 

Author Comment

by:gail_p
ID: 2618082
ok, thanks for the advice.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question