Solved

using bitblt

Posted on 2004-07-31
5
288 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
Comment Utility
0
 
LVL 55

Accepted Solution

by:
Jaime Olivares earned 230 total points
Comment Utility
>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
Comment Utility
both dialog-based  and Doc/View architecture can use?
0
 
LVL 55

Assisted Solution

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

Author Comment

by:mwcmp
Comment Utility
sorry, had been quite busy lately...

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

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Need Help INsttalling wget on Mavericks OS X 3 81
Tab names are off by one 5 49
iSeries DB2 Query 2 83
wait notify demo infinite loop 3 79
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: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
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.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

763 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now