how to display IBitmapImage on CDC
Posted
by tommyk
on Stack Overflow
See other posts from Stack Overflow
or by tommyk
Published on 2009-11-17T17:00:30Z
Indexed on
2010/05/01
20:17 UTC
Read the original article
Hit count: 421
What is the best way to display IBitmapImage on a device context. I am using Windows CE 6.0.
void CImaginingTestView::OnDraw(CDC* pDC)
{
CImaginingTestDoc* pDoc = GetDocument();
ASSERT_VALID(pDoc);
IBitmapImage* pBitmapImage = pDoc->GetBitmapImage();
if (pBitmapImage)
{
// how to draw my bitmap on a pDC ??
}
}
© Stack Overflow or respective owner