Click here to Skip to main content
16,008,954 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralDirectX - Its Urgent Pin
23-Sep-01 23:12
suss23-Sep-01 23:12 
GeneralRe: DirectX - Its Urgent Pin
Christian Graus23-Sep-01 23:35
protectorChristian Graus23-Sep-01 23:35 
GeneralReal time graph plotting Pin
23-Sep-01 22:45
suss23-Sep-01 22:45 
GeneralRe: Real time graph plotting Pin
Jonathan de Halleux9-Nov-01 13:44
Jonathan de Halleux9-Nov-01 13:44 
QuestionHow to Send Message to CMainFrame Class To Redraw all child windows Pin
23-Sep-01 20:52
suss23-Sep-01 20:52 
AnswerRe: How to Send Message to CMainFrame Class To Redraw all child windows Pin
Steen Krogsgaard24-Sep-01 0:03
Steen Krogsgaard24-Sep-01 0:03 
GeneralRe: How to Send Message to CMainFrame Class To Redraw all child windows Pin
24-Sep-01 0:31
suss24-Sep-01 0:31 
GeneralRe: How to Send Message to CMainFrame Class To Redraw all child windows Pin
#realJSOP24-Sep-01 1:33
professional#realJSOP24-Sep-01 1:33 
Put a function in the app class that iterates through all of the doc templates, and iterates through all the documents for each template and call UpdateAllViews(NULL) for each document.

void CMyApp::UpdateAllViews()
{
   POSITION posTemplate = GetFirstDocTemplatePosition();
   while (posTemplate)
   {
      CDocTemplate* pTemplate = (CDocTemplate*)GetNextDocTemplate(posTemplate);
      POSITION posDoc = pTemplate->GetFirstDocPosition();
      while (posDoc)
      {
         CDocument* pDocument = pTemplate->GetNextDoc(posDoc);
         if ((pDocument=) != NULL)
         {
            pDocList->UpdateAllViews(NULL);
         }
      }
   }
} 

GeneralRe: How to Send Message to CMainFrame Class To Redraw all child windows Pin
24-Sep-01 2:01
suss24-Sep-01 2:01 
GeneralRe: How to Send Message to CMainFrame Class To Redraw all child windows Pin
#realJSOP24-Sep-01 2:50
professional#realJSOP24-Sep-01 2:50 
GeneralRe: How to Send Message to CMainFrame Class To Redraw all child windows Pin
24-Sep-01 4:50
suss24-Sep-01 4:50 
GeneralRe: How to Send Message to CMainFrame Class To Redraw all child windows Pin
#realJSOP24-Sep-01 5:35
professional#realJSOP24-Sep-01 5:35 
GeneralNetMeeting SDK Pin
tfElep23-Sep-01 16:31
tfElep23-Sep-01 16:31 
GeneralRe: NetMeeting SDK Pin
Michael P Butler23-Sep-01 22:20
Michael P Butler23-Sep-01 22:20 
Generalreading from netware directory Pin
Hong Wye Kean23-Sep-01 15:57
Hong Wye Kean23-Sep-01 15:57 
GeneralChris's Grid Control Doc/View Pin
Matt Newman23-Sep-01 15:53
Matt Newman23-Sep-01 15:53 
GeneralRe: Chris's Grid Control Doc/View Pin
Christian Graus23-Sep-01 16:12
protectorChristian Graus23-Sep-01 16:12 
GeneralRe: Chris's Grid Control Doc/View Pin
Matt Newman23-Sep-01 16:24
Matt Newman23-Sep-01 16:24 
GeneralRe: Chris's Grid Control Doc/View Pin
Christian Graus23-Sep-01 16:40
protectorChristian Graus23-Sep-01 16:40 
GeneralRe: Chris's Grid Control Doc/View Pin
Matt Newman24-Sep-01 14:25
Matt Newman24-Sep-01 14:25 
GeneralRe: Chris's Grid Control Doc/View Pin
Christian Graus24-Sep-01 15:05
protectorChristian Graus24-Sep-01 15:05 
GeneralRe: Chris's Grid Control Doc/View Pin
Matt Newman24-Sep-01 15:46
Matt Newman24-Sep-01 15:46 
GeneralRe: Chris's Grid Control Doc/View Pin
Chris Maunder24-Sep-01 15:39
cofounderChris Maunder24-Sep-01 15:39 
GeneralRe: Chris's Grid Control Doc/View Pin
Matt Newman24-Sep-01 15:47
Matt Newman24-Sep-01 15:47 
GeneralCustom AppWizard Pin
23-Sep-01 14:53
suss23-Sep-01 14:53 

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.