Click here to Skip to main content
16,005,222 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Copy Constructor Pin
David Crow18-Oct-04 11:18
David Crow18-Oct-04 11:18 
GeneralRe: Copy Constructor Pin
Malcolm Smart18-Oct-04 11:37
Malcolm Smart18-Oct-04 11:37 
GeneralRe: Copy Constructor Pin
David Crow18-Oct-04 16:16
David Crow18-Oct-04 16:16 
GeneralWM_CLOSE message Pin
help_wanted18-Oct-04 9:10
help_wanted18-Oct-04 9:10 
GeneralRe: WM_CLOSE message Pin
David Crow18-Oct-04 9:19
David Crow18-Oct-04 9:19 
GeneralRe: WM_CLOSE message Pin
help_wanted18-Oct-04 9:35
help_wanted18-Oct-04 9:35 
GeneralRe: WM_CLOSE message Pin
David Crow18-Oct-04 10:27
David Crow18-Oct-04 10:27 
GeneralCommunication between classes Pin
Kamis18-Oct-04 9:03
Kamis18-Oct-04 9:03 
Situation is quite ordinary: I have a main window class(for example derived from CDialog) and call a modal dialog from it's method. Choosing some settings from within it affects data of the main window class. So what is the most elegant way to establish communication between these two dialogs? How is it implemented more often in practice? One solution I see is to pass a pointer of the main class as an argument to constructor or any other method of this "settings" dialog and manipulate all tha data directly. Or I can save all changes in some kind of mediums such as global variables or object with static members and then when this secondary dialog is about to be destroyed it sends message to the main window class in order to read data from these transitional variables and update it's data. Or perhaps there is another way to do it?
GeneralRe: Communication between classes Pin
David Crow18-Oct-04 9:25
David Crow18-Oct-04 9:25 
GeneralRe: Communication between classes Pin
toxcct19-Nov-04 5:57
toxcct19-Nov-04 5:57 
GeneralRe: Communication between classes Pin
David Crow19-Nov-04 6:44
David Crow19-Nov-04 6:44 
GeneralRe: Communication between classes Pin
Ravi Bhavnani18-Oct-04 11:17
professionalRavi Bhavnani18-Oct-04 11:17 
GeneralRe: Communication between classes Pin
Kamis18-Oct-04 13:08
Kamis18-Oct-04 13:08 
GeneralDirectInput help - DirectInputCreate Function wont Work! Pin
InflatableGarfield18-Oct-04 8:36
InflatableGarfield18-Oct-04 8:36 
GeneralRe: DirectInput help - DirectInputCreate Function wont Work! Pin
BlackDice18-Oct-04 10:48
BlackDice18-Oct-04 10:48 
GeneralRe: DirectInput help - DirectInputCreate Function wont Work! Pin
BlackDice18-Oct-04 11:06
BlackDice18-Oct-04 11:06 
GeneralRe: DirectInput help - DirectInputCreate Function wont Work! Pin
InflatableGarfield18-Oct-04 11:50
InflatableGarfield18-Oct-04 11:50 
QuestionHow to make MDI GUI like this? :doh: Pin
yesjacky18-Oct-04 8:35
yesjacky18-Oct-04 8:35 
AnswerRe: How to make MDI GUI like this? :doh: Pin
Maximilien18-Oct-04 8:55
Maximilien18-Oct-04 8:55 
GeneralRe: How to make MDI GUI like this? :doh: Pin
yesjacky18-Oct-04 9:16
yesjacky18-Oct-04 9:16 
GeneralRe: How to make MDI GUI like this? :doh: Pin
Maximilien18-Oct-04 9:30
Maximilien18-Oct-04 9:30 
AnswerRe: How to make MDI GUI like this? :doh: Pin
David Crow18-Oct-04 9:15
David Crow18-Oct-04 9:15 
GeneralRe: How to make MDI GUI like this? :doh: Pin
yesjacky18-Oct-04 9:27
yesjacky18-Oct-04 9:27 
Generalserial port comm. Pin
Anonymous18-Oct-04 8:29
Anonymous18-Oct-04 8:29 
GeneralChanging dynamically tooltip text on toolbar Pin
Exsilius18-Oct-04 4:21
Exsilius18-Oct-04 4:21 

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.