SE LOS AGRADECERIA MUCHO
![]() |
![]() |
|
Moderador: latindeveloper





class TuWnd : public CWnd
{
//...
CBitmap bitmap;
BOOL OnCreate( ... )
{
bitmap.LoadBitmap(IDB_BITMAP1);
}
void OnDraw( ) // Tambien puede ser OnPaint
{
//CDC *dc o CPaintDC dc
BITMAP bm;
bitmap.GetBitmap(&bm);
//PINTANDO
dc->BitBlt(0,0,bm.bmWidth ,bm.bmHeight,dc /* &dc */,0,0,SRC_COPY);
}
//...
}



Usuarios navegando por este Foro: No hay usuarios registrados visitando el Foro y 0 invitados