Solved

using bitblt

Posted on 2004-07-31
5
300 Views
Last Modified: 2013-11-20
I'm currently trying to display an image onto a mfc app using evc++. Tried tons of method. Can anyone help with some codes? Presume that these images are stored in my pocket pc. Can BitBlt be  used? How?
0
Comment
Question by:mwcmp
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 1

Assisted Solution

by:fyf7262284
fyf7262284 earned 120 total points
ID: 11686847
0
 
LVL 55

Accepted Solution

by:
Jaime Olivares earned 230 total points
ID: 11688049
>Can BitBlt be  used? How?
Yes, I use to display bitmaps in PocketPC, it is identical as desktop.
- Create an single-document application with AppWizard: File -> New -> Project -> WCE MFC AppWizard (.exe)
- Paint the bitmap with BitBlt in the OnDraw event, as usual.

0
 

Author Comment

by:mwcmp
ID: 11700739
both dialog-based  and Doc/View architecture can use?
0
 
LVL 55

Assisted Solution

by:Jaime Olivares
Jaime Olivares earned 230 total points
ID: 11704674
YES. In dialog-based you have to trap OnPaint() event. In CView-derived, use the OnDraw() event.
0
 

Author Comment

by:mwcmp
ID: 11745392
sorry, had been quite busy lately...

seriously speaking... I still dont how I should implement the BitBlt
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question