Solved

How to put a Status Bar on a ListView

Posted on 1998-08-11
1
168 Views
Last Modified: 2013-11-20
I am trying to insert a Status Bar within a ListView and a TreeView, but am having no luck.  Has anyone been able to do this
0
Comment
Question by:yoonas
1 Comment
 
LVL 15

Accepted Solution

by:
Tommy Hui earned 50 total points
ID: 1320584
You cannot really insert a status bar within a listview. The common controls (like most other controls) assume it will paint the entire client area. But, that does not mean it cannot be simulated. Instead of using a list view, use a regular CView. In the view, create two children: a list control and a status control. Then when the view resizes, you need to get the rectangle size for the view and move the list control and status control to where they should be. This allows you simulate the view having two controls.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Decoding 32 bit binary streams 6 37
sumNumber challenge 16 109
haveThree challenge 22 113
FizzBuzz challenge 9 76
Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
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 …
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.
Concerto provides fully managed cloud services and the expertise to provide an easy and reliable route to the cloud. Our best-in-class solutions help you address the toughest IT challenges, find new efficiencies and deliver the best application expe…

914 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

15 Experts available now in Live!

Get 1:1 Help Now