Solved

Balloon Help Problems

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

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 …
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
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.
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

911 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now