Questions tagged [csplitterwnd]

21 questions
2
votes
2 answers

How to focus on a certain view in a MFC CSplitter

I'm trying to create an hierarchic window that contains 3 views using CMDIChildWnd, 2 CSplitterWnd's and 3 CFormView's: A form view that contains a static control A form to display the main window that I use to view a PDF document A side panel for…
le_alex
  • 63
  • 7
2
votes
4 answers

Is there a way to create a view in a CSplitterWnd without using (MFC) dynamic object creation?

I was previously using a CSplitterWnd in a MFC application, using it's CreateView function. Everything was working fine but now I would like to pass a parameter to the constructor of my views, so I cannot use MFC dynamic object creation…
n1ckp
  • 1,481
  • 1
  • 14
  • 21
1
vote
1 answer

All controls are disabled on splitter panes

In my MFC application I used CSplitterWnd to create two panes and each pane is a CFormView dialog box. When run this GUI application the splitter is working and both panes are showing but all controls (button, edit box, combo box...) are disabled. …
CHI TANG
  • 93
  • 1
  • 16
1
vote
1 answer

MFC: After applying a CSplitterWnd to my CChildFrame the main window title isn't updated any more

Still using VS 2008, I have split my MDI view class in my CChildFrame to facilitate a navigation sidebar (a CListCtrl) next to my old CScrollView using a static splitter (source code). This however implied two side effects: Beside the mouse wheel no…
thomiel
  • 2,467
  • 22
  • 37
1
vote
0 answers

CSplitterWnd CreateStatic() fails on Windows 10

For almost 20 year I've been developing an MFC MDI application. It has worked on Windows 98, Windows XP and Windows 7. But it fails on Windows 10... Any ideas, why? Here is the code: class CEdytorDocFrame : public CMDIChildWnd { …
milet
  • 81
  • 1
  • 3
1
vote
1 answer

Resizing Mouse Shape changed in MFC

I have ported my application to be built with Visual Studio 2013. After building it, I found that the resizing mouse shape is interchanged. The first shape of mouse pointer appears when I want to resize a vertical splitter and the second one…
mnabil
  • 695
  • 1
  • 5
  • 19
1
vote
1 answer

MFC application crashes on AfxCheckDialogTemplate

I have an MFC application that, if built and ran, immediately closes after opening. If I debug the application, then I get an ASSERT triggered from C:...\MFC\SRC\viewform.cpp. ERROR: Dialog with IDD 0x008A must have the child style. If I continue…
Raiden616
  • 1,545
  • 3
  • 18
  • 42
1
vote
3 answers

MFC: Showing / Hiding Splitter Panes

In my application I have a number of panes from m_wndspliter classes. What I want to do is at run time show and hide one of these panes. Whilst with the following code I can show and hide the view associated with the pane, I can't temporarily remove…
Konrad
  • 39,751
  • 32
  • 78
  • 114
1
vote
3 answers

Multiple Interchangeable Views (MFC/C++)

I have a main frame with a splitter. On the left I have my (imaginatively named) CAppView_Leftand on the right I have CAppView_Right_1and CAppView_Right_2. Through the following code I initialise the two primary views correctly: if…
Konrad
  • 39,751
  • 32
  • 78
  • 114
0
votes
1 answer

MFC: How can we switch from CTreeCtrl to CTreeView easly?

I have an graphics MFC application which historically was developed by using a CTreeCtrl. I want to add a CSplitterWnd to improve its graphical interface. However, I found that the CTreeCtrl is not compatible with CSplitterWnd. Apparently i must use…
Alpha_33
  • 97
  • 8
0
votes
1 answer

CSplitterWnd with two panes : left pane is CTreeView, Right is CFrameWnd : Not able to set different views in Right pane

I am trying to implement a classic Windows Explorer kind of Application, CpliterWnd has two panes : Left pane is CLeftTreeView : public CTreeView Right pane is CRightPaneFrame: public CFrameWnd , CRightPaneFrame has a member variable…
Ravi
  • 255
  • 3
  • 16
0
votes
2 answers

CSplitterWnd flip between horizontal and vertical splitter?

Suppose I have a splitter with 2 rows. -------- |        | -------- |        | -------- How do I make it to this --------- |    |    | |    |    | |    |    | --------- switch from horizontal split to vertical split without having to re-create…
buttercup
  • 1,096
  • 16
  • 37
0
votes
2 answers

Multiple Documents/Views in MFC Splitter Window

I currently have an MFC SDI program that displays data in Open GL. I am trying to modify the program to display multiple data files at once using splitter windows. In other words, if there are four splitter windows, each with display a different…
JRGlide
  • 1
  • 1
0
votes
1 answer

Independent Scroll Bars for a CSplitterWnd? (MFC)

I have an application that allows the user to select Split Window from a dropdown menu, displaying the current document in two adjacent client areas using a CSplitterWnd CreateStatic call. I've found much documentation on creating a shared scroll…
JayB
  • 397
  • 6
  • 21
0
votes
1 answer

Have one simple view and one split view in MFC

I have a multiple view SDI project. One of the views has to be split, probably with CSplitterWnd or CSplitterWndEx. But the other views should not be split, and should not have the split buttons and scrollbars. I tried various combinations using…
Cristi Stoica
  • 169
  • 2
  • 7
1
2