Solved

CStatusBarCtrl

Posted on 2003-10-21
4
449 Views
Last Modified: 2013-11-20
Hello all:


   I have an MFC application where I've created a status bar whose base class is CStatusBar and I created a status bar manager class.  I've created several status bar items and everything in that respect looks good.  I'm able to update text fine.  However, when I set the tip text, nothing happens; I'm calling SetTipText(...).  Shouldn't this show an html style help popup box with text inside?  If so, why does mine show nothing when the mouse cursor hovers over an item?

   Basically, I'm trying to show additional information when the cursor is over some status bar items.  If 'm way off then can someone please tell me another approach?

Thank you,
Catalepsy
0
Comment
Question by:Catalepsy
4 Comments
 
LVL 1

Accepted Solution

by:
rushinmonkey earned 100 total points
ID: 9595355
0
 
LVL 48

Expert Comment

by:AlexFM
ID: 9596556
What is application type (SDI, dialog etc.)?
0
 
LVL 9

Expert Comment

by:Priyesh
ID: 9596739
Try creating the CStatusBar with CreateEx , like

m_wndStatusBar.CreateEx(this, SBT_TOOLTIPS);

MFC documentation says
Once the tool tip has been set, it is displayed only if the part has an icon and no text, or if all of the text cannot be displayed inside the part. Tool tips are not supported in simple mode.
0
 
LVL 3

Author Comment

by:Catalepsy
ID: 9603545
I'm going to have to give this one to rushinmonkey as it turned out I had to make my own CToolBarCtrl to make this stupid thing work and the article he pointed me to showed this.
0

Featured Post

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
bobThere java chalenge 45 92
child constructor and parent constructor, overriding and overloading 6 85
Problem to event 3 97
x-bar in Google Sheets 2 55
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.

803 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