G
GS
Hi,
I'm just starting to use C++ after working with VB[A] for some years.
I'm trying to convert a VB6 project to C++ MFC so I can use my existing
ActiveX components. These are a treeVw.ocx, fileVw.ocx, and Farpoint's
Spread.ocx.
I have these working in a dialog-based project right now, but I need to
have a splitter between the treeview and fileview OCXs. The
complication is that the Spread.ocx has to be positioned/sized same as
the fileview so switching views just toggles visibility. I have this
working in the dialog-based project but no pane splitter. (For clarity,
I have only duplicated the UI at this point. The only other
functionality it has is showing CHM help.)
In VB a splitter was easy to achieve using a label. My research into
doing that in C++ concludes it's doable, but very complex coding is
necessary.
The Explorer-style project already produces a dialog with the splitter
working as I need it to. I just don't know how to code for my controls
to occupy the panes. (Nor do I know if the OCXs will work in the form!)
Any help/suggestions will be most appreciated!
--
Garry
Free usenet access at http://www.eternal-september.org
ClassicVB Users Regroup!
comp.lang.basic.visual.misc
microsoft.public.vb.general.discussion
I'm just starting to use C++ after working with VB[A] for some years.
I'm trying to convert a VB6 project to C++ MFC so I can use my existing
ActiveX components. These are a treeVw.ocx, fileVw.ocx, and Farpoint's
Spread.ocx.
I have these working in a dialog-based project right now, but I need to
have a splitter between the treeview and fileview OCXs. The
complication is that the Spread.ocx has to be positioned/sized same as
the fileview so switching views just toggles visibility. I have this
working in the dialog-based project but no pane splitter. (For clarity,
I have only duplicated the UI at this point. The only other
functionality it has is showing CHM help.)
In VB a splitter was easy to achieve using a label. My research into
doing that in C++ concludes it's doable, but very complex coding is
necessary.
The Explorer-style project already produces a dialog with the splitter
working as I need it to. I just don't know how to code for my controls
to occupy the panes. (Nor do I know if the OCXs will work in the form!)
Any help/suggestions will be most appreciated!
--
Garry
Free usenet access at http://www.eternal-september.org
ClassicVB Users Regroup!
comp.lang.basic.visual.misc
microsoft.public.vb.general.discussion