Dialogs data change
-
I have some multiple dialogs and i have to exchange data form one to another. One solution that i think of is to save the data in the registry. Is there another way to do it ? Thanks
You could use a property sheet with each dialog being a property page. Or, you could derive each dialog from a base class and put the shared data in the base class.
"Opinions are neither right nor wrong. I cannot change your opinion of me. I can, however, change what influences your opinion." - David Crow
-
I have some multiple dialogs and i have to exchange data form one to another. One solution that i think of is to save the data in the registry. Is there another way to do it ? Thanks
to add to what David Crow wrote, are the dialogs part of the same application? I suggest that you either put the shared data in a class that both dialog can either share or have access to. putting data in the registry is a REALLY, REALLY bad idea if I understand correctly your problem.
Maximilien Lincourt Your Head A Splode - Strong Bad
-
I have some multiple dialogs and i have to exchange data form one to another. One solution that i think of is to save the data in the registry. Is there another way to do it ? Thanks
register a message: RegisterWindowMessage then: SendMessage with the first param HWND_BROADCAST and the second param return value from RegisterWindowMessage and in your windows check for that message in your main message loop and also check out http://www.flounder.com/messages.htm wWw.KruncherInc.cOm
-
register a message: RegisterWindowMessage then: SendMessage with the first param HWND_BROADCAST and the second param return value from RegisterWindowMessage and in your windows check for that message in your main message loop and also check out http://www.flounder.com/messages.htm wWw.KruncherInc.cOm