Click here to Skip to main content
15,887,485 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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.
AnswerRe: Update Views Pin
Cedric Moonen15-May-06 3:09
Cedric Moonen15-May-06 3:09 
GeneralRe: Update Views Pin
masnu15-May-06 3:48
masnu15-May-06 3:48 
Questionneeded dll's on other computers Pin
Grimes15-May-06 2:45
Grimes15-May-06 2:45 
AnswerRe: needed dll's on other computers Pin
Cedric Moonen15-May-06 3:00
Cedric Moonen15-May-06 3:00 
AnswerRe: needed dll's on other computers Pin
Eytukan15-May-06 3:25
Eytukan15-May-06 3:25 
AnswerRe: needed dll's on other computers Pin
-Dy15-May-06 5:15
-Dy15-May-06 5:15 
GeneralRe: needed dll's on other computers Pin
Grimes15-May-06 9:39
Grimes15-May-06 9:39 
QuestionRemote Connection Pin
Anu_Bala15-May-06 2:31
Anu_Bala15-May-06 2:31 
AnswerRe: Remote Connection Pin
NiceNaidu15-May-06 19:26
NiceNaidu15-May-06 19:26 
GeneralRe: Remote Connection Pin
Anu_Bala15-May-06 22:57
Anu_Bala15-May-06 22:57 
Question[Message Deleted] Pin
ddmcr15-May-06 2:13
ddmcr15-May-06 2:13 
AnswerRe: Command line parameters [modified] Pin
Leo Davidson15-May-06 2:31
Leo Davidson15-May-06 2:31 
QuestionWin32 DLL project randomly crashes after moving to VS2005 Pin
Leo Davidson15-May-06 2:12
Leo Davidson15-May-06 2:12 
AnswerRe: Win32 DLL project randomly crashes after moving to VS2005 Pin
Stephen Hewitt15-May-06 16:17
Stephen Hewitt15-May-06 16:17 
GeneralRe: Win32 DLL project randomly crashes after moving to VS2005 Pin
Leo Davidson16-May-06 1:26
Leo Davidson16-May-06 1:26 
QuestionHow to create Windows service for listening on a socket Pin
zahid_ash15-May-06 1:52
zahid_ash15-May-06 1:52 
AnswerRe: How to create Windows service for listening on a socket Pin
led mike15-May-06 5:32
led mike15-May-06 5:32 

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.