Solved

Balloon Help Problems

Posted on 2000-03-14
2
279 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
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

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.

Question has a verified solution.

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

Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
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.

726 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