Answered by:
c++ use an image as the background.

Question
-
Working with visual studio 2003 .net 1.1 and I was wondering how would use and image as a background instead of just a specific background color?
Just PerdueIT
- Moved by Youjun Tang Thursday, September 10, 2015 5:20 AM more appropriate
Wednesday, September 9, 2015 7:56 PM
Answers
-
I'm also working with C controls like cwindow cview CFrameWnd I think I need to inject the image in the CFrameWnd but not sure which one it should probably go in. C++ is a very weak area for me so I just need to get started displaying a image as the background i.e jpg gif bitmap.
There is an article about scrolling text on a fixed image background . I think this should what you want. The sample is pretty clear for these steps of giving a background image to your CFrameWnd .
http://www.codeproject.com/Articles/30023/Scroll-with-Fixed-Background
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.Thursday, September 17, 2015 11:36 AM
All replies
-
Hi Just Perdueit,
As your issue is related to C++, I will move the case to C++ forum for help.
Regards,
Youjun TangWe are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.Thursday, September 10, 2015 5:20 AM -
Hi Just Perdueit,
From your description, I would guess you are developing a CLR windows form application. If I am right, please check some MSDN documents :
How to: Add Background Images to Windows Forms
How to: Set the Background of a Windows Forms Panel
I also suggeste you use C# as the develop language if you are working with .NET framework library and don't need to use any native library. Hope this helps some.
Best regards,
Shu
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.Thursday, September 10, 2015 6:06 AM -
Thank you I wasn't sure what forum to put this in.
Just PerdueIT
Friday, September 11, 2015 3:59 PM -
Pretty sure it MFC and no I can't use C# unfortunately otherwise I'd be all over that. This application is completely in C++ and it's so old I don't think there's any way to write a c# interface with it.
Just PerdueIT
Friday, September 11, 2015 4:06 PM -
I'm also working with C controls like cwindow cview CFrameWnd I think I need to inject the image in the CFrameWnd but not sure which one it should probably go in. C++ is a very weak area for me so I just need to get started displaying a image as the background i.e jpg gif bitmap.
Just PerdueIT
Friday, September 11, 2015 4:10 PM -
I think that the answer to your question will depend on different factors. For example, is the program a dialog based app, an MDI app or an SDI app?
Is it using the CMFCVisualManager class to provide different visual syles?
Saturday, September 12, 2015 4:53 PM -
I'm also working with C controls like cwindow cview CFrameWnd I think I need to inject the image in the CFrameWnd but not sure which one it should probably go in. C++ is a very weak area for me so I just need to get started displaying a image as the background i.e jpg gif bitmap.
There is an article about scrolling text on a fixed image background . I think this should what you want. The sample is pretty clear for these steps of giving a background image to your CFrameWnd .
http://www.codeproject.com/Articles/30023/Scroll-with-Fixed-Background
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.Thursday, September 17, 2015 11:36 AM