Solved

using bitblt

Posted on 2004-07-31
5
296 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
  • 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: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying 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

Suggested Solutions

Title # Comments Views Activity
maven archtype selection in eclipse 1 57
sum13 challenge 24 121
Is there a simple front-end menu system. 9 102
"Black Box" Testing of Control System Software 2 70
Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
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.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

808 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