[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

How to put a Status Bar on a ListView

Posted on 1998-08-11
1
Medium Priority
?
177 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 150 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

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

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

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: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
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.
Integration Management Part 2
Suggested Courses
Course of the Month18 days, 7 hours left to enroll

826 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