[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 284
  • Last Modified:

Balloon Help Problems


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
gail_p
Asked:
gail_p
1 Solution
 
Alex CuryloCommented:
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
 
gail_pAuthor Commented:
ok, thanks for the advice.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now