Solved

How to put a Status Bar on a ListView

Posted on 1998-08-11
1
170 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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
cat dog challenge 18 124
repeatSeparator  java  challenge 13 57
no14 challenge 14 66
mapBully challenge 6 127
Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
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…
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.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

786 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