Click here to Skip to main content
15,889,877 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionSending asynchronous IOCTL from user to kernel Pin
Shay Harel28-Sep-07 9:58
Shay Harel28-Sep-07 9:58 
AnswerRe: Sending asynchronous IOCTL from user to kernel Pin
JudyL_MD28-Sep-07 10:06
JudyL_MD28-Sep-07 10:06 
QuestionCompletely novice to Visual Studio Pin
Aloha200728-Sep-07 9:51
Aloha200728-Sep-07 9:51 
QuestionRe: Completely novice to Visual Studio Pin
David Crow28-Sep-07 9:58
David Crow28-Sep-07 9:58 
AnswerRe: Completely novice to Visual Studio Pin
Aloha200728-Sep-07 11:04
Aloha200728-Sep-07 11:04 
AnswerRe: Completely novice to Visual Studio Pin
Hamid_RT28-Sep-07 19:46
Hamid_RT28-Sep-07 19:46 
QuestionHow to get all MFC MDI child windows Pin
Californian228-Sep-07 8:56
Californian228-Sep-07 8:56 
AnswerRe: How to get all MFC MDI child windows Pin
Mark Salsbery28-Sep-07 9:10
Mark Salsbery28-Sep-07 9:10 
The CDocTemplate objects keep track of open documents.  By iterating through the
registered templates, you can get the open docs associated with each template.

For enumerating views, you can do it the windows way(s) like EnumChildWindows()
or you could also use CDocument::GetFirstViewPosition()/CDocument::GetNextView()
to get the views for each document obtained as described above.

For an example of enumerating documents, you can check out the source code.
CWinApp::CloseAllDocuments() is an example.

Mark



Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

GeneralRe: How to get all MFC MDI child windows Pin
Californian228-Sep-07 17:09
Californian228-Sep-07 17:09 
Questionerror LNK2001: unresolved external symbol _pinstX Pin
Calvin Streeting28-Sep-07 8:26
Calvin Streeting28-Sep-07 8:26 
AnswerRe: error LNK2001: unresolved external symbol _pinstX Pin
Karim Mribti28-Sep-07 8:38
Karim Mribti28-Sep-07 8:38 
GeneralRe: error LNK2001: unresolved external symbol _pinstX Pin
Calvin Streeting28-Sep-07 9:03
Calvin Streeting28-Sep-07 9:03 
GeneralRe: error LNK2001: unresolved external symbol _pinstX Pin
Calvin Streeting28-Sep-07 9:54
Calvin Streeting28-Sep-07 9:54 
AnswerRe: error LNK2001: unresolved external symbol _pinstX Pin
David Crow28-Sep-07 10:01
David Crow28-Sep-07 10:01 
QuestionregisterHotKey dont work Pin
jokop28-Sep-07 7:24
jokop28-Sep-07 7:24 
AnswerRe: registerHotKey dont work Pin
David Crow28-Sep-07 7:45
David Crow28-Sep-07 7:45 
AnswerRe: registerHotKey dont work Pin
GauranG Shah28-Sep-07 17:56
GauranG Shah28-Sep-07 17:56 
GeneralRe: registerHotKey dont work Pin
jokop28-Sep-07 21:18
jokop28-Sep-07 21:18 
QuestionToolbar with two colums Pin
sharp_k28-Sep-07 7:02
sharp_k28-Sep-07 7:02 
AnswerRe: Toolbar with two colums Pin
Nathan Holt at EMOM28-Sep-07 7:13
Nathan Holt at EMOM28-Sep-07 7:13 
GeneralRe: Toolbar with two colums Pin
sharp_k28-Sep-07 10:53
sharp_k28-Sep-07 10:53 
GeneralRe: Toolbar with two colums Pin
Nathan Holt at EMOM28-Sep-07 11:01
Nathan Holt at EMOM28-Sep-07 11:01 
AnswerRe: Toolbar with two colums Pin
Mark Salsbery28-Sep-07 8:19
Mark Salsbery28-Sep-07 8:19 
GeneralRe: Toolbar with two colums Pin
sharp_k28-Sep-07 10:51
sharp_k28-Sep-07 10:51 
GeneralRe: Toolbar with two colums Pin
Mark Salsbery28-Sep-07 11:44
Mark Salsbery28-Sep-07 11:44 

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.