By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,030 Members | 1,997 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,030 IT Pros & Developers. It's quick & easy.

displaying image in CScrollBarView

P: n/a
I'm having a lot of trouble trying to display an image (CImage) using
the CScrollBarView class.

I'm using Microsoft Visual C++ .NET (2002), making an MFC Application
with these additional specs:
- Application Type: Multiple documents
- Compound document support: Container
- The View class is a subclass of CScrollBarView

I found a tutorial for how to display a bitmap file at
http://codeproject.com/docview/CScrollview.asp
(the example is for MDI). Although the code compiles, it doesn't do
anything.

Lena
Jul 19 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Lena wrote:
I'm having a lot of trouble trying to display an image (CImage) using
the CScrollBarView class.

I'm using Microsoft Visual C++ .NET (2002), making an MFC Application
with these additional specs:
- Application Type: Multiple documents
- Compound document support: Container
- The View class is a subclass of CScrollBarView

I found a tutorial for how to display a bitmap file at
http://codeproject.com/docview/CScrollview.asp
(the example is for MDI). Although the code compiles, it doesn't do
anything.

Lena


You will get better (and more advice) by asking in a Microsoft
Visual C++ newsgroup. This newsgroup, news:comp.lang.c++,
discusses the _standard_ C++ language which has no facilities
for CImage or CScrollBarView. In otherwords, your post is
off-topic to this newsgroup.

Read the FAQ and welcome.txt below.
--
Thomas Matthews

C++ newsgroup welcome message:
http://www.slack.net/~shiva/welcome.txt
C++ Faq: http://www.parashift.com/c++-faq-lite
C Faq: http://www.eskimo.com/~scs/c-faq/top.html
alt.comp.lang.learn.c-c++ faq:
http://www.raos.demon.uk/acllc-c++/faq.html
Other sites:
http://www.josuttis.com -- C++ STL Library book

Jul 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.