Solved

using bitblt

Posted on 2004-07-31
5
292 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
MFC Dialog 9 48
Folder Comparison 12 53
List out all word 7 260
withoutTen challenge 14 100
In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
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 tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …

920 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

17 Experts available now in Live!

Get 1:1 Help Now