drawing bitmap
-
How can you draw a bitmap outside of OnPaint() function? calling "CPaintDC dc(this)" outside of OnPaint() compiles and executes, but doesnt work. Kevin Shaffer kshaff03@msn.com
-
How can you draw a bitmap outside of OnPaint() function? calling "CPaintDC dc(this)" outside of OnPaint() compiles and executes, but doesnt work. Kevin Shaffer kshaff03@msn.com
CDC* dc = GetDC();
dc->BitBlt(...);
ReleaseDC(dc);-- Sancte Míchael Archángele, defénde nos in proélio contra nequítiam et insídias diáboli esto præsídium. Imperet illi Deus, súpplices deprecámur: tuque, princeps milítiæ cæléstis, Sátanam aliósque spíritus malígnos, qui ad perditiónem animárum pervagántur in mundo, divína virtúte, In inférnum detrude. Amen.
-
How can you draw a bitmap outside of OnPaint() function? calling "CPaintDC dc(this)" outside of OnPaint() compiles and executes, but doesnt work. Kevin Shaffer kshaff03@msn.com
Jorgen's method is one way. Another is to use
CClientDC(this)
Ryan
"Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"