-
November 2nd, 2003, 03:36 PM
#1
What control to derive from?
Hello...
I have a splitter window view in which I want to be able to add a series of 'audio tracks', as in, I want to be able to add as many track views as I want, one under the other. Each of these tracks will have functionality built in, ie. the ability to scroll, mute, etc. What I want to know is how I should go about implementing such a thing. What class is best to derive this from. Should I use a listview? Any suggestions. Keep in mind:
1. Add a track to the window
2. Remove a track
Here is a picture of what I'm trying to implement:
http://www.freefunfiles.com/software...creenshot.html
Phil
-
November 2nd, 2003, 03:38 PM
#2
By the way, don't worry about the actual audio aspect; that's not a problem. I'm only concerned with the GUI aspect.
-
November 4th, 2003, 01:47 PM
#3
I don't know, but since there are not any other answers, you might consider using an owner-drawn list box (CListBox, not CListCtrl). I don't know how to do that, but there are samples and such that should help. There probably are also some CodeGuru articles that should help.
-
November 4th, 2003, 03:47 PM
#4
Thanks for the tip, actually I already decided to derive a CView class and just draw during the OnPaint method, it seems to be working fine with that.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|