Click here to Skip to main content
15,921,716 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Scroll bar thumbs size Pin
alex.barylski27-Aug-02 21:57
alex.barylski27-Aug-02 21:57 
GeneralRe: Scroll bar thumbs size Pin
alex.barylski28-Aug-02 0:30
alex.barylski28-Aug-02 0:30 
GeneralRe: Scroll bar thumbs size Pin
Andreas Saurwein28-Aug-02 1:17
Andreas Saurwein28-Aug-02 1:17 
GeneralUpdating from Dialog to Document Pin
RalfPeter27-Aug-02 13:44
RalfPeter27-Aug-02 13:44 
GeneralRe: Updating from Dialog to Document Pin
Chris Losinger27-Aug-02 14:03
professionalChris Losinger27-Aug-02 14:03 
GeneralRe: The other way ... Pin
Masaaki Onishi27-Aug-02 16:51
Masaaki Onishi27-Aug-02 16:51 
GeneralRe: Updating from Dialog to Document Pin
John Oliver27-Aug-02 22:51
John Oliver27-Aug-02 22:51 
GeneralRe: Updating from Dialog to Document Pin
John Oliver27-Aug-02 23:33
John Oliver27-Aug-02 23:33 
I've noticed similar questions in other threads where people have recommended not DDXing to the CDocument inherited class directly as the Dialog shouldn't care about the Document. I don't agree with this.

One of the main reasons for the Document/View pattern is to maintain a single copy of the Document data throughout the application. This is exactly what my method(above) does - it passes a pointer to the single Document object between classes. The Dialog is as valid a 'view' as the View.

Coping data into members belonging to other objects and them reading from the members again opens the way for bugs and makes things more rigid.

That's what I reckon anywaysBig Grin | :-D
GeneralUpdate controls in timer, doesn't update Pin
jimNLX27-Aug-02 11:57
jimNLX27-Aug-02 11:57 
GeneralRe: Update controls in timer, doesn't update Pin
Christian Graus27-Aug-02 12:02
protectorChristian Graus27-Aug-02 12:02 
GeneralRe: Update controls in timer, doesn't update Pin
jimNLX27-Aug-02 12:03
jimNLX27-Aug-02 12:03 
GeneralRe: Update controls in timer, doesn't update Pin
Christian Graus27-Aug-02 12:17
protectorChristian Graus27-Aug-02 12:17 
GeneralRe: Update controls in timer, doesn't update Pin
Andreas Saurwein27-Aug-02 13:33
Andreas Saurwein27-Aug-02 13:33 
GeneralRe: Update controls in timer, doesn't update Pin
jimNLX28-Aug-02 3:15
jimNLX28-Aug-02 3:15 
GeneralRe: Update controls in timer, doesn't update Pin
Andreas Saurwein28-Aug-02 3:43
Andreas Saurwein28-Aug-02 3:43 
GeneralRe: Update controls in timer, doesn't update Pin
jimNLX28-Aug-02 3:56
jimNLX28-Aug-02 3:56 
GeneralRe: Update controls in timer, doesn't update Pin
Andreas Saurwein28-Aug-02 4:08
Andreas Saurwein28-Aug-02 4:08 
GeneralRe: Update controls in timer, doesn't update Pin
jimNLX28-Aug-02 4:15
jimNLX28-Aug-02 4:15 
GeneralRe: Update controls in timer, doesn't update Pin
Andreas Saurwein28-Aug-02 4:42
Andreas Saurwein28-Aug-02 4:42 
Generalcrash !! Help Pin
ns27-Aug-02 11:41
ns27-Aug-02 11:41 
GeneralRe: crash !! Help Pin
Christian Graus27-Aug-02 12:01
protectorChristian Graus27-Aug-02 12:01 
GeneralMy registry code Pin
Anonymous27-Aug-02 16:21
Anonymous27-Aug-02 16:21 
GeneralRe: My registry code Pin
Andreas Saurwein27-Aug-02 23:22
Andreas Saurwein27-Aug-02 23:22 
GeneralRe: crash !! Help Pin
Andreas Saurwein27-Aug-02 13:42
Andreas Saurwein27-Aug-02 13:42 
Generalsorry for the ultra long post above. Desperate! Pin
Anonymous27-Aug-02 16:24
Anonymous27-Aug-02 16:24 

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.