Solved

CStatusBarCtrl

Posted on 2003-10-21
4
440 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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

746 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

12 Experts available now in Live!

Get 1:1 Help Now