Click here to Skip to main content
15,921,279 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
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 
hever wrote:
And I'm not sure what SwitchToView() exactly do?!


Ok SwitchToView() was a good idea!
And I've to read the tutorial better!

This is the example code:
m_nViewNo1 = m_pSplitterWnd->AddView(RIGHT_SIDE, RUNTIME_CLASS(CSplitterWndTestView), pContext);<br />
<br />
m_nViewNo2 = m_pSplitterWnd->AddView(RIGHT_SIDE, RUNTIME_CLASS(CSplitterWndTestView6), pContext);


AddView returns an integer, which identicates the View. (Just begining with 0 and then increments)

To Switch a View in a Pane, you can use the SwitchToView Method.
The first argument indicates the pane and the second the view (The number returned by AddView).

SwitchToView works to me, but only when I call it directly after creating and filling the Panes.
My Problem is still, that an error occurs by calling the SwitchToView Funcion a bit later. As I described above, for example by clicking on a button...

What could this Problem be?
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
professional#realJSOP31-Jan-06 2:58 
QuestionRe: running and terminating EXEs automatically Pin
David Crow31-Jan-06 3:40
David Crow31-Jan-06 3:40 
QuestionPrinter Spooler Pin
vikramlinux31-Jan-06 1:16
vikramlinux31-Jan-06 1:16 
QuestionRe: Printer Spooler Pin
David Crow31-Jan-06 3:43
David Crow31-Jan-06 3:43 
AnswerRe: Printer Spooler Pin
vikramlinux31-Jan-06 18:23
vikramlinux31-Jan-06 18:23 

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.