using bitblt

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?
mwcmpAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Jaime OlivaresConnect With a Mentor Software ArchitectCommented:
>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
 
mwcmpAuthor Commented:
both dialog-based  and Doc/View architecture can use?
0
 
Jaime OlivaresConnect With a Mentor Software ArchitectCommented:
YES. In dialog-based you have to trap OnPaint() event. In CView-derived, use the OnDraw() event.
0
 
mwcmpAuthor Commented:
sorry, had been quite busy lately...

seriously speaking... I still dont how I should implement the BitBlt
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.