[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 307
  • Last Modified:

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?
0
mwcmp
Asked:
mwcmp
  • 2
  • 2
3 Solutions
 
Jaime OlivaresCommented:
>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 OlivaresCommented:
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

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now