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

C / C++ / MFC

 
GeneralRe: console app closes Pin
Anonymous23-Oct-04 16:06
Anonymous23-Oct-04 16:06 
GeneralGrabbing images from Video Files Pin
AJ12323-Oct-04 9:18
AJ12323-Oct-04 9:18 
GeneralGetting CMainFrame members from CView Pin
Leyu23-Oct-04 8:00
Leyu23-Oct-04 8:00 
GeneralRe: Getting CMainFrame members from CView Pin
Michael P Butler23-Oct-04 8:47
Michael P Butler23-Oct-04 8:47 
GeneralRe: Getting CMainFrame members from CView Pin
BlackDice23-Oct-04 9:34
BlackDice23-Oct-04 9:34 
GeneralRe: Getting CMainFrame members from CView Pin
BlackDice23-Oct-04 10:04
BlackDice23-Oct-04 10:04 
QuestionHow to switch between windows? Pin
missnazar23-Oct-04 8:00
missnazar23-Oct-04 8:00 
AnswerRe: How to switch between windows? Pin
Michael P Butler23-Oct-04 8:42
Michael P Butler23-Oct-04 8:42 
In the button click event handler, add something like

<br />
CSecondDialog dlg;<br />
<br />
dlg.DoModal();


Have a read of CDialog::DoModal[^] for further info.

Launching a FormView is slightly more complex, especially in an SDI app - have a read of Switching Views in a Single Document Interface Program[^]



Michael

CP Blog [^]

GeneralRe: How to switch between windows? Pin
missnazar23-Oct-04 21:06
missnazar23-Oct-04 21:06 
AnswerRe: How to switch between windows? Pin
BlackDice23-Oct-04 9:36
BlackDice23-Oct-04 9:36 
GeneralRe: How to switch between windows? Pin
missnazar23-Oct-04 20:36
missnazar23-Oct-04 20:36 
GeneralRe: How to switch between windows? Pin
BlackDice25-Oct-04 2:54
BlackDice25-Oct-04 2:54 
QuestionMemory leak?? Pin
Bob Stanneveld23-Oct-04 7:17
Bob Stanneveld23-Oct-04 7:17 
AnswerRe: Memory leak?? Pin
Yulianto.23-Oct-04 17:05
Yulianto.23-Oct-04 17:05 
GeneralRe: Memory leak?? Pin
Bob Stanneveld24-Oct-04 2:08
Bob Stanneveld24-Oct-04 2:08 
AnswerRe: Memory leak?? Pin
Tim Smith23-Oct-04 18:14
Tim Smith23-Oct-04 18:14 
GeneralRe: Memory leak?? Pin
Bob Stanneveld24-Oct-04 2:07
Bob Stanneveld24-Oct-04 2:07 
AnswerRe: Memory leak?? Pin
Neville Franks24-Oct-04 0:18
Neville Franks24-Oct-04 0:18 
GeneralRe: Memory leak?? Pin
Bob Stanneveld24-Oct-04 2:02
Bob Stanneveld24-Oct-04 2:02 
GeneralError closing dialog Pin
Larsson23-Oct-04 6:55
Larsson23-Oct-04 6:55 
GeneralRe: Error closing dialog Pin
BlackDice23-Oct-04 7:12
BlackDice23-Oct-04 7:12 
GeneralRe: Error closing dialog Pin
Larsson23-Oct-04 7:54
Larsson23-Oct-04 7:54 
GeneralEmbedded dialog question Pin
BlackDice23-Oct-04 6:47
BlackDice23-Oct-04 6:47 
GeneralRe: Embedded dialog question Pin
Larsson23-Oct-04 6:56
Larsson23-Oct-04 6:56 
GeneralRESOLVED Pin
BlackDice23-Oct-04 8:10
BlackDice23-Oct-04 8:10 

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.