Click here to Skip to main content
15,900,818 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Printing an SDI application Pin
jonesap530-Jun-06 10:13
jonesap530-Jun-06 10:13 
GeneralRe: Printing an SDI application Pin
Zac Howland3-Jul-06 3:38
Zac Howland3-Jul-06 3:38 
QuestionRemote Software Update Pin
softwaremonkey30-Jun-06 5:29
softwaremonkey30-Jun-06 5:29 
AnswerRe: Remote Software Update Pin
David Crow30-Jun-06 6:21
David Crow30-Jun-06 6:21 
QuestionCustom Objects Accessible by Many Forms Pin
kialmur30-Jun-06 5:18
kialmur30-Jun-06 5:18 
AnswerRe: Custom Objects Accessible by Many Forms [modified] Pin
led mike30-Jun-06 5:24
led mike30-Jun-06 5:24 
AnswerRe: Custom Objects Accessible by Many Forms Pin
Zac Howland30-Jun-06 5:29
Zac Howland30-Jun-06 5:29 
GeneralRe: Custom Objects Accessible by Many Forms Pin
kialmur30-Jun-06 6:03
kialmur30-Jun-06 6:03 
I basically used the standard Windows forms project to start off. The .cpp, with the main(), that Visual Studio automatically creates is used to run the thread that launches my main form. The main form allows me to modify and view the status of my object, which interacts with various hardware cards and other. From that form, I have one sub-layer of forms that allow me to modify specific aspects of the object. Each form, except the main one, typically modifies or views information about one portion of the object, such as a card it interacts with. So I need to both write and read from the object within both layers of forms.

To answer the post of the next person, I have already separated my application based on the Model-View-Controller pattern. I simply do not know how to give access to the object to each form, since each form is a class.

I hope this helps you in answering me. I am hoping you will be able to suggest one of the good ways to give access.

Thanks in advance.

kialmur
GeneralRe: Custom Objects Accessible by Many Forms Pin
led mike30-Jun-06 6:16
led mike30-Jun-06 6:16 
GeneralRe: Custom Objects Accessible by Many Forms Pin
kialmur30-Jun-06 6:29
kialmur30-Jun-06 6:29 
GeneralRe: Custom Objects Accessible by Many Forms Pin
led mike30-Jun-06 6:39
led mike30-Jun-06 6:39 
GeneralRe: Custom Objects Accessible by Many Forms Pin
kialmur30-Jun-06 6:50
kialmur30-Jun-06 6:50 
GeneralRe: Custom Objects Accessible by Many Forms Pin
Zac Howland30-Jun-06 6:45
Zac Howland30-Jun-06 6:45 
AnswerRe: Custom Objects Accessible by Many Forms Pin
led mike30-Jun-06 5:30
led mike30-Jun-06 5:30 
QuestionSave button and encryption Pin
we3Guy30-Jun-06 4:58
we3Guy30-Jun-06 4:58 
AnswerRe: Save button and encryption Pin
led mike30-Jun-06 5:25
led mike30-Jun-06 5:25 
AnswerRe: Save button and encryption Pin
bob1697230-Jun-06 5:26
bob1697230-Jun-06 5:26 
QuestionDetecting that a network cable has been plugged in... Pin
LostInABQ30-Jun-06 4:50
LostInABQ30-Jun-06 4:50 
QuestionRe: Detecting that a network cable has been plugged in... Pin
David Crow30-Jun-06 5:02
David Crow30-Jun-06 5:02 
AnswerRe: Detecting that a network cable has been plugged in... Pin
Eric Dahlvang30-Jun-06 6:12
Eric Dahlvang30-Jun-06 6:12 
QuestionRe: Detecting that a network cable has been plugged in... Pin
David Crow30-Jun-06 6:19
David Crow30-Jun-06 6:19 
AnswerRe: Detecting that a network cable has been plugged in... Pin
Randor 30-Jun-06 7:39
professional Randor 30-Jun-06 7:39 
GeneralRe: Detecting that a network cable has been plugged in... Pin
David Crow30-Jun-06 9:29
David Crow30-Jun-06 9:29 
GeneralRe: Detecting that a network cable has been plugged in... Pin
Randor 30-Jun-06 13:55
professional Randor 30-Jun-06 13:55 
QuestionRe: Detecting that a network cable has been plugged in... Pin
David Crow5-Jul-06 2:48
David Crow5-Jul-06 2:48 

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.