Click here to Skip to main content
15,904,935 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: C++ new operator Global Process storage ??? Pin
ForNow24-Sep-09 17:56
ForNow24-Sep-09 17:56 
GeneralRe: C++ new operator Global Process storage ??? Pin
«_Superman_»24-Sep-09 20:39
professional«_Superman_»24-Sep-09 20:39 
GeneralRe: C++ new operator Global Process storage ??? Pin
ForNow25-Sep-09 1:03
ForNow25-Sep-09 1:03 
AnswerRe: C++ new operator Global Process storage ??? Pin
Rajesh R Subramanian25-Sep-09 0:57
professionalRajesh R Subramanian25-Sep-09 0:57 
QuestionFont Pin
viliam24-Sep-09 10:39
viliam24-Sep-09 10:39 
QuestionRe: Font Pin
David Crow24-Sep-09 10:57
David Crow24-Sep-09 10:57 
AnswerRe: Font Pin
viliam24-Sep-09 11:32
viliam24-Sep-09 11:32 
QuestionNeed help in creating an array in C++ Pin
Anmolkumar24-Sep-09 9:17
Anmolkumar24-Sep-09 9:17 
AnswerRe: Need help in creating an array in C++ Pin
Maximilien24-Sep-09 9:37
Maximilien24-Sep-09 9:37 
QuestionFinding the memory address of a function [modified] Pin
hxhl9524-Sep-09 8:09
hxhl9524-Sep-09 8:09 
AnswerRe: Finding the memory address of a function [modified] Pin
David Crow24-Sep-09 8:37
David Crow24-Sep-09 8:37 
AnswerRe: Finding the memory address of a function Pin
Stuart Dootson24-Sep-09 10:00
professionalStuart Dootson24-Sep-09 10:00 
GeneralRe: Finding the memory address of a function [modified] Pin
hxhl9524-Sep-09 11:49
hxhl9524-Sep-09 11:49 
GeneralRe: Finding the memory address of a function Pin
CPallini24-Sep-09 12:09
mveCPallini24-Sep-09 12:09 
AnswerRe: Finding the memory address of a function Pin
CPallini24-Sep-09 10:22
mveCPallini24-Sep-09 10:22 
GeneralRe: Finding the memory address of a function Pin
hxhl9524-Sep-09 11:47
hxhl9524-Sep-09 11:47 
QuestionCString collision in various projects causing LNK ERROR:2019 Pin
Vetukuri Raju24-Sep-09 7:36
Vetukuri Raju24-Sep-09 7:36 
AnswerRe: CString collision in various projects causing LNK ERROR:2019 Pin
David Crow24-Sep-09 8:02
David Crow24-Sep-09 8:02 
GeneralRe: CString collision in various projects causing LNK ERROR:2019 Pin
Vetukuri Raju24-Sep-09 20:10
Vetukuri Raju24-Sep-09 20:10 
QuestionMFC Communicating within splitter frame - advice needed Pin
Vaclav_24-Sep-09 6:25
Vaclav_24-Sep-09 6:25 
AnswerRe: MFC Communicating within splitter frame - advice needed Pin
«_Superman_»24-Sep-09 17:25
professional«_Superman_»24-Sep-09 17:25 
GeneralRe: MFC Communicating within splitter frame - advice needed Pin
Vaclav_24-Sep-09 19:27
Vaclav_24-Sep-09 19:27 
AnswerRe: MFC Communicating within splitter frame - advice needed Pin
Iain Clarke, Warrior Programmer25-Sep-09 21:38
Iain Clarke, Warrior Programmer25-Sep-09 21:38 
If you're making a change to something both views will see, then you should be making that change in the document, and use UpdateAllViews to "tell" the views that something has changed and they should do something about it.

If you're adding / removing views, then neither the view(s) or the document are the right place to do that. I'd suggest the frame holding the views, either the CChildFrame or CMainFrame (for SDI) would be the right place to handle any "add a new view", "kill a view", "change a view" message.

UpdateAllViews is *not* the place to be murdering Views in their sleep.

I hope that helps,

Iain.

I have now moved to Sweden for love (awwww).
If you're in Scandinavia and want an MVP on the payroll (or happy with a remote worker), or need cotract work done, give me a job! http://cv.imcsoft.co.uk/[^]

Questionfilter the list of files in a CBCGPListCtrl by extension [modified] Pin
MrKBA24-Sep-09 6:19
MrKBA24-Sep-09 6:19 
AnswerRe: filter the list of files in a CBCGPListCtrl by extension Pin
Rolf Kristensen26-Sep-09 7:42
Rolf Kristensen26-Sep-09 7:42 

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.