Click here to Skip to main content
15,899,313 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralScroll bar thumbs size Pin
alex.barylski27-Aug-02 15:04
alex.barylski27-Aug-02 15:04 
GeneralRe: Scroll bar thumbs size Pin
Ernest Laurentin27-Aug-02 18:15
Ernest Laurentin27-Aug-02 18:15 
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 
Hello, the codegurus around the world.;)

Basically, we don't need to create CMyDialog in MyDoc class.
(Or, maybe we call some member function of CMyDoc with createing MyDialog and
call this function in the menu associated in CMyView).

Anyway, there are at least two ways to access the member value of CMyDoc.

1) Pass the parent's CWnd through the dialog class constructor.
(Or use GetParent() function of CWnd).
So, what is the parent? CMyDoc(?), CMyview or CMyFrame. No problems.
(Oops, CMyDoc will not be derived from CWnd.)

2) Use the global functions like AfxGetApp() or AfxGetMainWnd()
to get CMyFrame's CWnd and use GetDocument() functions.

So, we can enjoy MFC since we have many ways to do anything.Cool | :cool:

Please, don't send me your email about your questions directly.
Have a nice day!
Sonork - 100.10571:vcdeveloper Wink | ;)

-Masaaki Onishi-


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 
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 

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.