Click here to Skip to main content
15,927,745 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to change menu item propeties ? Pin
Antony M Kancidrowski28-Sep-04 6:10
Antony M Kancidrowski28-Sep-04 6:10 
GeneralTerminating a Thread Pin
sweep12328-Sep-04 4:34
sweep12328-Sep-04 4:34 
GeneralRe: Terminating a Thread Pin
Blake Miller28-Sep-04 4:49
Blake Miller28-Sep-04 4:49 
GeneralRe: Terminating a Thread Pin
sweep12328-Sep-04 6:11
sweep12328-Sep-04 6:11 
GeneralRe: Terminating a Thread Pin
Blake Miller28-Sep-04 6:28
Blake Miller28-Sep-04 6:28 
Questiondoc/view ??? Pin
Plons28-Sep-04 4:08
Plons28-Sep-04 4:08 
AnswerRe: doc/view ??? Pin
HENDRIK R28-Sep-04 4:55
HENDRIK R28-Sep-04 4:55 
AnswerRe: doc/view ??? Pin
David Crow28-Sep-04 5:43
David Crow28-Sep-04 5:43 
Plons wrote:
I don't know how to get data from the doc class to the view class.

After the document has successfully loaded the file, simply call UpdateAllViews() to notify the view that it needs to display new information. In the view's OnUpdate() method, it will ask the document (usually via GetDocument() and one other method) for the data to be displayed.

Check out the Scribble tutorial on MSDN. It goes over serialization, and doc/view in great detail.


"When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen


GeneralHandle of the View Pin
Neelesh K J Jain28-Sep-04 4:06
Neelesh K J Jain28-Sep-04 4:06 
GeneralRe: Handle of the View Pin
David Crow28-Sep-04 5:51
David Crow28-Sep-04 5:51 
GeneralRe: Handle of the View Pin
Sujan Christo28-Sep-04 8:57
Sujan Christo28-Sep-04 8:57 
GeneralPrinting help! Pin
Larsson28-Sep-04 3:37
Larsson28-Sep-04 3:37 
GeneralRe: Printing help! Pin
Andrzej Markowski3-Oct-04 14:23
Andrzej Markowski3-Oct-04 14:23 
GeneralImage Processing Pin
Fonzo28-Sep-04 3:25
Fonzo28-Sep-04 3:25 
GeneralHidden my Application in tag list Pin
Gledston Reis28-Sep-04 3:02
sussGledston Reis28-Sep-04 3:02 
GeneralRe: Hidden my Application in tag list Pin
David Crow28-Sep-04 7:29
David Crow28-Sep-04 7:29 
GeneralRe: Hidden my Application in tag list Pin
PJ Arends28-Sep-04 13:12
professionalPJ Arends28-Sep-04 13:12 
GeneralRe: Hidden my Application in tag list Pin
David Crow29-Sep-04 2:53
David Crow29-Sep-04 2:53 
GeneralRe: Hidden my Application in tag list Pin
Gledston Reis29-Sep-04 8:47
sussGledston Reis29-Sep-04 8:47 
GeneralCD rom Context menu Pin
anandforu28-Sep-04 2:50
anandforu28-Sep-04 2:50 
GeneralRe: CD rom Context menu Pin
David Crow28-Sep-04 5:36
David Crow28-Sep-04 5:36 
GeneralRe: CD rom Context menu Pin
anandforu6-Oct-04 8:56
anandforu6-Oct-04 8:56 
GeneralRe: CD rom Context menu Pin
David Crow6-Oct-04 9:10
David Crow6-Oct-04 9:10 
GeneralActiveX Controls Pin
anandforu28-Sep-04 2:45
anandforu28-Sep-04 2:45 
GeneralCreateProcess puzzle Pin
ns28-Sep-04 1:47
ns28-Sep-04 1:47 

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.