Solved

Balloon Help Problems

Posted on 2000-03-14
2
278 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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

Suggested Solutions

Title # Comments Views Activity
Expand to include initial dialog with two choices. 9 80
haveThree challenge 22 121
post4 challenge 28 104
changeXy challenge 13 88
Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
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.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

840 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