Solved

CStatusBarCtrl

Posted on 2003-10-21
4
463 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
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.
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

627 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