Control bars in view windows
Kevin McConnell -- kevin@tigger.demon.co.uk
Tuesday, September 17, 1996
Environment: VC++ 4.0, NT 4.0
Hi,
I'm working on an MDI app which has two different views of the same
document, a graphical display and a textual view.
The textual view is a CListView derived class, however I want to add a
combo-box at the top of it (between the window caption and the start of the
list control itself). Kind of how the source windows in VC 4 have the IDs
and stuff listed.
Anyone know how I can do this?
Thanks,
Kevin
rkumar@mail.cswl.com
Saturday, September 21, 1996
[Mini-digest: 3 responses]
May be u can have a tool bar which docs only only at the top.
attach the tool bar to ur child frame. U can hide it when ur graphview
is active.Use CBRS_ALIGN_TOP to create the tool bar and enabling
docking for the child frame.
Ratan
rkumar@cswl.com
______________________________ Reply Separator _________________________________
Subject: Control bars in view windows
Author: mfc-l@netcom.com at internet
Date: 20/09/96 2:23 AM
Environment: VC++ 4.0, NT 4.0
Hi,
I'm working on an MDI app which has two different views of the same
document, a graphical display and a textual view.
The textual view is a CListView derived class, however I want to add a
combo-box at the top of it (between the window caption and the start of the
list control itself). Kind of how the source windows in VC 4 have the IDs
and stuff listed.
Anyone know how I can do this?
Thanks,
Kevin
-----From: plong@viagrafix.com (Ping Long)
You can use a control bar as an embeded member of the parent frame window (CMdiChildFrameWnd) of CListView derived class.
-----From: "Alexander Grigoriev"
You may want to create a view that will contain a combobox and textual vi=
ew
as child windows.
| Вернуться в корень Архива
|