Click here to Skip to main content
16,004,882 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Double Buffering in a Dialog?? Pin
Paul M Watt20-Oct-02 18:04
mentorPaul M Watt20-Oct-02 18:04 
GeneralRe: Double Buffering in a Dialog?? Pin
David_Jenkins21-Oct-02 2:12
David_Jenkins21-Oct-02 2:12 
GeneralRe: Double Buffering in a Dialog?? Pin
Paul M Watt21-Oct-02 4:18
mentorPaul M Watt21-Oct-02 4:18 
GeneralRe: Double Buffering in a Dialog?? Pin
David_Jenkins22-Oct-02 4:42
David_Jenkins22-Oct-02 4:42 
Generalstructure access from another view.. Pin
Anonymous20-Oct-02 11:07
Anonymous20-Oct-02 11:07 
GeneralRe: structure access from another view.. Pin
Joaquín M López Muñoz20-Oct-02 11:11
Joaquín M López Muñoz20-Oct-02 11:11 
GeneralRe: structure access from another view.. Pin
Anonymous20-Oct-02 11:29
Anonymous20-Oct-02 11:29 
GeneralRe: structure access from another view.. Pin
Joaquín M López Muñoz20-Oct-02 11:33
Joaquín M López Muñoz20-Oct-02 11:33 
so do i need to create an identical structure in my view then use the code that you posted?

No. In the first snippet I posted, a pointer to the structure inside your CMainFrame is declared and set. No duplication is made, you access the one and only structure through the pointer.
As for the second snippet, it does basically the same but using references instead of pointers. If you don't know what references are, use the first form (though it is advisable that you learn about C++ references in some C++ tutorial).

Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
GeneralRe: structure access from another view.. Pin
Anonymous20-Oct-02 11:41
Anonymous20-Oct-02 11:41 
GeneralOne last question Pin
Anonymous20-Oct-02 13:47
Anonymous20-Oct-02 13:47 
GeneralThreading & CStringArray - long post warning Pin
carrie20-Oct-02 10:05
carrie20-Oct-02 10:05 
GeneralRe: Threading & CStringArray - long post warning Pin
Joaquín M López Muñoz20-Oct-02 10:43
Joaquín M López Muñoz20-Oct-02 10:43 
GeneralRe: Threading & CStringArray - long post warning Pin
carrie20-Oct-02 11:02
carrie20-Oct-02 11:02 
GeneralRe: Threading & CStringArray - long post warning Pin
carrie20-Oct-02 13:41
carrie20-Oct-02 13:41 
QuestionMultiline listview?!?!!?!? Pin
Nasty_p20-Oct-02 7:49
Nasty_p20-Oct-02 7:49 
AnswerRe: Multiline listview?!?!!?!? Pin
Joaquín M López Muñoz20-Oct-02 8:15
Joaquín M López Muñoz20-Oct-02 8:15 
GeneralRe: Multiline listview?!?!!?!? Pin
Nasty_p20-Oct-02 8:25
Nasty_p20-Oct-02 8:25 
GeneralRe: Multiline listview?!?!!?!? Pin
Joaquín M López Muñoz20-Oct-02 8:54
Joaquín M López Muñoz20-Oct-02 8:54 
GeneralRe: Multiline listview?!?!!?!? Pin
Nasty_p20-Oct-02 9:16
Nasty_p20-Oct-02 9:16 
GeneralRe: Multiline listview?!?!!?!? Pin
alex.barylski20-Oct-02 10:28
alex.barylski20-Oct-02 10:28 
GeneralRe: Multiline listview?!?!!?!? Pin
Nasty_p20-Oct-02 10:31
Nasty_p20-Oct-02 10:31 
AnswerRe: Multiline listview?!?!!?!? Pin
Shog920-Oct-02 11:35
sitebuilderShog920-Oct-02 11:35 
GeneralRe: Multiline listview?!?!!?!? Pin
Nasty_p20-Oct-02 14:02
Nasty_p20-Oct-02 14:02 
GeneralCFileDialog causes acess violation on DoModal() Pin
Alexinuk20-Oct-02 6:58
Alexinuk20-Oct-02 6:58 
GeneralRe: CFileDialog causes acess violation on DoModal() Pin
Joaquín M López Muñoz20-Oct-02 7:05
Joaquín M López Muñoz20-Oct-02 7:05 

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.