begginner with MFC
-
How do you add the current date on to the project using COleDateTime? And where do you add the code? Nicole
Where do you want to add the date ? In your about box ? The menu bar ? GetSystemTime will give you the info you need, COleDateTime has a constructor that takes this info if you *need* this object for some other reason and what you do with it depends on what you want to do with it. Christian #include "std_disclaimer.h" People who love sausage and respect the law should never watch either one being made. The things that come to those who wait are usually the things left by those who got there first.
-
Where do you want to add the date ? In your about box ? The menu bar ? GetSystemTime will give you the info you need, COleDateTime has a constructor that takes this info if you *need* this object for some other reason and what you do with it depends on what you want to do with it. Christian #include "std_disclaimer.h" People who love sausage and respect the law should never watch either one being made. The things that come to those who wait are usually the things left by those who got there first.
Well, thats kinda what I meant, it's close. But I really meant how to draw that stuff on there. And I don't wanna just use the windows frame components I wanna make my own version of them and then paint them on the Frame window.
-
Well, thats kinda what I meant, it's close. But I really meant how to draw that stuff on there. And I don't wanna just use the windows frame components I wanna make my own version of them and then paint them on the Frame window.
Ah - so you're not really that interested in the date, you want to draw your own window frame ? WM_NCPAINT is the message you want to catch - it indicates you want to paint the non-client area of a window (i.e. the frame). Christian #include "std_disclaimer.h" People who love sausage and respect the law should never watch either one being made. The things that come to those who wait are usually the things left by those who got there first.