Click here to Skip to main content
15,891,567 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to know programmatically if network cable is connected or not? Pin
David Crow31-Jan-06 3:27
David Crow31-Jan-06 3:27 
GeneralRe: How to know programmatically if network cable is connected or not? Pin
Amarelia1-Feb-06 8:05
Amarelia1-Feb-06 8:05 
AnswerRe: How to know programmatically if network cable is connected or not? Pin
M.Mehrdad.M31-Jan-06 4:05
M.Mehrdad.M31-Jan-06 4:05 
GeneralRe: How to know programmatically if network cable is connected or not? Pin
Amarelia1-Feb-06 8:07
Amarelia1-Feb-06 8:07 
AnswerRe: How to know programmatically if network cable is connected or not? Pin
bob1697231-Jan-06 8:43
bob1697231-Jan-06 8:43 
GeneralRe: How to know programmatically if network cable is connected or not? Pin
Amarelia1-Feb-06 8:09
Amarelia1-Feb-06 8:09 
JokeRe: How to know programmatically if network cable is connected or not? Pin
Balon Fan22-Jun-08 1:43
Balon Fan22-Jun-08 1:43 
QuestionChanging Views in SplitterWindow-Panes Pin
hever31-Jan-06 2:04
hever31-Jan-06 2:04 
Hello,
I've got a Problem with the "Reusable base class for SplitterWnd" from Daniel Zuppinger:
http://www.codeproject.com/splitter/st_splitterwnd.asp


I splitted the MainFormView vertical and added to each Pane a View in the OnCreateClient Method of the MainFrame:

m_pRightBottomSplitterWnd = m_pRightSplitterWnd->AddSubDivision(BOTTOM_SIDE, RUNTIME_CLASS(CViewChooser), RUNTIME_CLASS(CView1), pContext, true);

Now I click on a Button in the right Pane and going to change the View in the Left Pane. For Example from CFormView to CHTML View or whatever. Therefore I call a Method in the MainFormView Class by clicking the Button, with the following code:

m_pRightBottomSplitterWnd->AddView(RIGHT_SIDE, RUNTIME_CLASS(CView2), NULL);


But that still doesn't work and I got a runt-time-error. The Debugger stops at the following code, from the SplitterWnd Class:
<br />
inline void SideToRowCol(int nSide, int* nRow, int*  nCol) <br />
	{<br />
		if (m_bVertical) { //<<< Here it stops and can't access m_bVertical<br />
			*nRow = 0;<br />
			*nCol = nSide;<br />
		}<br />
		else {<br />
			*nRow = nSide;<br />
			*nCol = 0;<br />
		}<br />
	};


I hope you understand my Problem and can help me.
QuestionRe: Changing Views in SplitterWindow-Panes Pin
David Crow31-Jan-06 3:34
David Crow31-Jan-06 3:34 
GeneralRe: Changing Views in SplitterWindow-Panes Pin
hever31-Jan-06 7:52
hever31-Jan-06 7:52 
QuestionRe: Changing Views in SplitterWindow-Panes Pin
hever31-Jan-06 8:46
hever31-Jan-06 8:46 
AnswerRe: Changing Views in SplitterWindow-Panes Pin
hever31-Jan-06 10:44
hever31-Jan-06 10:44 
Questionset dialog to no max or no change of size Pin
waxie31-Jan-06 1:36
waxie31-Jan-06 1:36 
AnswerRe: set dialog to no max or no change of size Pin
Rage31-Jan-06 2:10
professionalRage31-Jan-06 2:10 
AnswerRe: set dialog to no max or no change of size Pin
toxcct31-Jan-06 2:20
toxcct31-Jan-06 2:20 
Questionrunning and terminating EXEs automatically Pin
Sasikumar.SR31-Jan-06 1:28
Sasikumar.SR31-Jan-06 1:28 
AnswerRe: running and terminating EXEs automatically Pin
Rage31-Jan-06 1:41
professionalRage31-Jan-06 1:41 
GeneralRe: running and terminating EXEs automatically Pin
David Crow31-Jan-06 3:36
David Crow31-Jan-06 3:36 
GeneralRe: running and terminating EXEs automatically Pin
Rage31-Jan-06 5:09
professionalRage31-Jan-06 5:09 
GeneralRe: running and terminating EXEs automatically Pin
Sasikumar.SR31-Jan-06 19:02
Sasikumar.SR31-Jan-06 19:02 
GeneralRe: running and terminating EXEs automatically Pin
Sasikumar.SR31-Jan-06 22:18
Sasikumar.SR31-Jan-06 22:18 
GeneralRe: running and terminating EXEs automatically Pin
David Crow1-Feb-06 2:20
David Crow1-Feb-06 2:20 
AnswerRe: running and terminating EXEs automatically Pin
Rage31-Jan-06 1:48
professionalRage31-Jan-06 1:48 
AnswerRe: running and terminating EXEs automatically Pin
#realJSOP31-Jan-06 2:58
mve#realJSOP31-Jan-06 2:58 
QuestionRe: running and terminating EXEs automatically Pin
David Crow31-Jan-06 3:40
David Crow31-Jan-06 3:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.