Click here to Skip to main content
15,921,113 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionInserting string in an html file using vc++/mfc... help. Pin
babyspidy6-Sep-05 2:22
babyspidy6-Sep-05 2:22 
GeneralRe: Inserting string in an html file using vc++/mfc... help. Pin
Jörgen Sigvardsson6-Sep-05 11:54
Jörgen Sigvardsson6-Sep-05 11:54 
GeneralRe: Inserting string in an html file using vc++/mfc... help. Pin
babyspidy6-Sep-05 14:40
babyspidy6-Sep-05 14:40 
GeneralRe: Inserting string in an html file using vc++/mfc... help. Pin
Jörgen Sigvardsson7-Sep-05 9:57
Jörgen Sigvardsson7-Sep-05 9:57 
GeneralRe: Inserting string in an html file using vc++/mfc... help. Pin
babyspidy7-Sep-05 20:53
babyspidy7-Sep-05 20:53 
QuestionVectors :( Pin
Eytukan6-Sep-05 2:05
Eytukan6-Sep-05 2:05 
AnswerRe: Vectors Pin
toxcct6-Sep-05 2:22
toxcct6-Sep-05 2:22 
GeneralRe: Vectors Pin
Eytukan6-Sep-05 4:02
Eytukan6-Sep-05 4:02 
GeneralRe: Vectors Pin
Eytukan6-Sep-05 4:05
Eytukan6-Sep-05 4:05 
AnswerRe: Vectors :( Pin
Roland Pibinger6-Sep-05 8:03
Roland Pibinger6-Sep-05 8:03 
GeneralRe: Vectors :( Pin
Bob Stanneveld6-Sep-05 8:40
Bob Stanneveld6-Sep-05 8:40 
GeneralRe: Vectors :( Pin
markkuk6-Sep-05 12:14
markkuk6-Sep-05 12:14 
QuestionMFC Menu checked on Doc/View app? Pin
lordgreg6-Sep-05 0:58
lordgreg6-Sep-05 0:58 
AnswerRe: MFC Menu checked on Doc/View app? Pin
Bob Ciora6-Sep-05 7:51
Bob Ciora6-Sep-05 7:51 
GeneralRe: MFC Menu checked on Doc/View app? Pin
lordgreg6-Sep-05 21:47
lordgreg6-Sep-05 21:47 
QuestionRe: MFC Menu checked on Doc/View app? Pin
David Crow6-Jan-11 6:41
David Crow6-Jan-11 6:41 
QuestionMultiple selections in CTreeCtrl Pin
uma_kanth_k6-Sep-05 0:24
uma_kanth_k6-Sep-05 0:24 
GeneralRe: Multiple selections in CTreeCtrl Pin
prasad_som6-Sep-05 0:55
prasad_som6-Sep-05 0:55 
Questionwhat is %ld Pin
Member 21610045-Sep-05 23:52
Member 21610045-Sep-05 23:52 
AnswerRe: what is %ld Pin
toxcct5-Sep-05 23:57
toxcct5-Sep-05 23:57 
QuestionCHtmlEditView and MSHTML usage Pin
sotiris5-Sep-05 23:39
sotiris5-Sep-05 23:39 
Questiontrouble with UpdateAllViews() Pin
/*Trucker*\5-Sep-05 23:09
/*Trucker*\5-Sep-05 23:09 
Hi,

I have an SDI Application with 3 views: CLeftView, CTopRightView, CBottomRightView. CTopRightView has a CListCtrl. In the code for CLeftView, if some condition is met, I want to add an item to the list control in CTopRightView.

To do this, in CLeftView I set a Doc var to the item i want to add. Next, I call UpdateAllViews() so it can call my Overridden OnUpdate functions in my views. My overriden OnUpdate function in CtopRightView adds the item set in Doc class to the list control.

The Problem: UpdateAllViews() seems to call OnCreate() before it calls my OnUpdate function, thus clearing all the contents I had in the list control, and then calls OnUpdate(). Is there any way to prevent it from calling the OnCreate()? I don't want to recreate the list control, just add an item to it.Unsure | :~

TraileR ParK LifE 4Ever
AnswerRe: trouble with UpdateAllViews() Pin
MailtoGops6-Sep-05 2:30
MailtoGops6-Sep-05 2:30 
GeneralRe: trouble with UpdateAllViews() Pin
/*Trucker*\6-Sep-05 9:49
/*Trucker*\6-Sep-05 9:49 
AnswerRe: trouble with UpdateAllViews() Pin
David Crow6-Sep-05 4:31
David Crow6-Sep-05 4:31 

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.