Click here to Skip to main content
15,897,187 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: network programming! Pin
David Crow15-May-06 5:53
David Crow15-May-06 5:53 
AnswerRe: network programming! Pin
Roger Stoltz15-May-06 6:09
Roger Stoltz15-May-06 6:09 
QuestionException handling Pin
LiYS15-May-06 5:15
LiYS15-May-06 5:15 
AnswerRe: Exception handling Pin
Stephen Hewitt15-May-06 15:54
Stephen Hewitt15-May-06 15:54 
QuestionActiveX control as parent Pin
Alton Williams15-May-06 4:59
Alton Williams15-May-06 4:59 
AnswerRe: ActiveX control as parent Pin
Roger Stoltz15-May-06 5:44
Roger Stoltz15-May-06 5:44 
GeneralRe: ActiveX control as parent Pin
Alton Williams16-May-06 1:53
Alton Williams16-May-06 1:53 
AnswerRe: ActiveX control as parent Pin
Roger Stoltz16-May-06 3:07
Roger Stoltz16-May-06 3:07 
GeneralRe: ActiveX control as parent Pin
Alton Williams5-Jun-06 2:16
Alton Williams5-Jun-06 2:16 
AnswerRe: ActiveX control as parent Pin
Roger Stoltz7-Jun-06 10:49
Roger Stoltz7-Jun-06 10:49 
QuestionGDI and Regions Pin
HakunaMatada15-May-06 4:47
HakunaMatada15-May-06 4:47 
Questionto locate the registry keys for Local Security Policies Pin
narayanagvs15-May-06 4:46
narayanagvs15-May-06 4:46 
Questionerror in debugging directshow filter in loading dll function Pin
yongwpi15-May-06 4:46
yongwpi15-May-06 4:46 
AnswerRe: error in debugging directshow filter in loading dll function Pin
Cedric Moonen15-May-06 4:55
Cedric Moonen15-May-06 4:55 
GeneralRe: error in debugging directshow filter in loading dll function Pin
yongwpi15-May-06 6:13
yongwpi15-May-06 6:13 
AnswerRe: error in debugging directshow filter in loading dll function Pin
Stephen Hewitt15-May-06 18:29
Stephen Hewitt15-May-06 18:29 
GeneralRe: error in debugging directshow filter in loading dll function Pin
yongwpi16-May-06 6:30
yongwpi16-May-06 6:30 
QuestionHide folder Pin
nat2kus15-May-06 4:22
nat2kus15-May-06 4:22 
AnswerRe: Hide folder Pin
David Crow15-May-06 5:55
David Crow15-May-06 5:55 
Questioncheck status CD Pin
photomatic15-May-06 4:06
photomatic15-May-06 4:06 
QuestionRe: check status CD Pin
David Crow15-May-06 6:00
David Crow15-May-06 6:00 
AnswerRe: check status CD Pin
photomatic15-May-06 22:32
photomatic15-May-06 22:32 
QuestionDos printing from Win Xp Pin
mikobi15-May-06 3:15
mikobi15-May-06 3:15 
AnswerRe: Dos printing from Win Xp Pin
basementman15-May-06 5:08
basementman15-May-06 5:08 
QuestionUpdate Views Pin
masnu15-May-06 3:06
masnu15-May-06 3:06 
I'm trying to find the best way to update my CView's when information in my CDocument changes. Right now I'm using the following method:

	CMDIFrameWnd *pFrame	= (CMDIFrameWnd*)AfxGetApp()->m_pMainWnd;<br />
	CMDIChildWnd *pChild	= (CMDIChildWnd *) pFrame->GetActiveFrame();<br />
	CAESView *pView			= (CAESView *) pChild->GetActiveView();<br />
<br />
	pView->SendMessage(UWM_UPDATE_VIEW, 0, 0);<br />


This works fine but it only updates the active view. How can I update all views that are related to the document, whether they are active or not?

Thanks.

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.