It's always a static layout, and all six panes are always displayed.
operation can be done in DOC.
"Joseph M. Newcomer" wrote:
Is this always a static layout? Is it really a doc/view requirement?
Will all six panes
always be displayed?
I'd be tempted to just do the six panes in a CFormView and do my own
resizing. Or just do
a dialog-based app (depends on the needs for status bar, printing,
etc.). It isn't very
hard to do this (see, for example, my Thread Affinity Explorer that has
a resizable window
on a dialog-based app)
joe
On Sun, 11 Jan 2009 23:11:01 -0800, HSNU_976
<HSNU_976@discussions.microsoft.com> wrote:
Hi, all
The following is my desired UI layout:
--------------------------------------
| 1 |
--------------------------------------
| 2 | 3 | |
| | | |
------------------------- 6 |
| 4 | 5 | |
| | | |
--------------------------------------
The region 2 is the tree view of the folders in my local PC, and region
3
will show the thumbnails of image files that in the folder selected in
the
region 2.
The region 4 is the tree view of the folders in remote PC(I've created
a
local folder in my PC for it, so it just a local folder in my PC in
developement stage), and region 5 wil show the thumbnails of image
files that
in the folder selected in the region 4.
The region 1 will show the selected image files in the region 3.
The region 6 have some functions that can perform on the selected image
file
in the region 3.
Is any one can tell how to achieve that!?
Below are what I thought:
Use SDI.
Also write a MyMainFrame class with CSplitterWnd that split the main
frame
into six region.
Then write a DOC class and six VIEWs for each region.
But I don't know how to bound and use the VIEWs and DOC with
MyMainFrame
that can achieve my desired goal.
Thanks for your anwsers.
Joseph M. Newcomer [MVP]
email: newcomer@flounder.com
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm