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
Solved

CStatusBarCtrl

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Separate files macro - Errors on larger data set 18 73
countEvens challenge 2 111
sum67 challenge 35 108
Detect file exist or not 3 179
Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
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.
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

860 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